src/mess/machine/tms5501.c
| r15362 | r15363 | |
| 233 | 233 | |
| 234 | 234 | if (tms->timer_counter[timer]) |
| 235 | 235 | { /* reset clock interval */ |
| 236 | | tms->timer[timer]->adjust(attotime::from_double((double) tms->timer_counter[0] / (intf->clock_rate / 128.)), timer_name[timer], attotime::from_double((double) tms->timer_counter[timer] / (intf->clock_rate / 128.))); |
| 236 | tms->timer[timer]->adjust(attotime::from_double((double) tms->timer_counter[timer] / (intf->clock_rate / 128.)), timer_name[timer], attotime::from_double((double) tms->timer_counter[timer] / (intf->clock_rate / 128.))); |
| 237 | 237 | } |
| 238 | 238 | else |
| 239 | 239 | { /* clock interval == 0 -> no timer */ |