| Previous | 199869 Revisions | Next |
| r29326 Saturday 5th April, 2014 at 17:45:50 UTC by David Haywood |
|---|
| fix compile (nw) |
| [src/emu/cpu/h8] | h8_timer8.c |
| r29325 | r29326 | |
|---|---|---|
| 217 | 217 | UINT64 base_time = (last_clock_update + clock_divider/2) / clock_divider; |
| 218 | 218 | UINT64 new_time = (cur_time + clock_divider/2) / clock_divider; |
| 219 | 219 | |
| 220 | int ott = tcnt; | |
| 221 | 220 | int tt = tcnt + new_time - base_time; |
| 222 | 221 | tcnt = tt % counter_cycle; |
| 223 | 222 |
| Previous | 199869 Revisions | Next |