| Previous | 199869 Revisions | Next |
| r32268 Monday 22nd September, 2014 at 00:04:24 UTC by hap |
|---|
| fix recompute_bcount regression |
| [src/emu/cpu/h8] | h8.c |
| [src/emu/cpu/mcs96] | mcs96.c |
| r32267 | r32268 | |
|---|---|---|
| 96 | 96 | |
| 97 | 97 | void mcs96_device::recompute_bcount(UINT64 event_time) |
| 98 | 98 | { |
| 99 | if(!event_time || event_time >= total_cycles()+icount) { | |
| 99 | if(!event_time || event_time >= total_cycles() + icount) { | |
| 100 | 100 | bcount = 0; |
| 101 | 101 | return; |
| 102 | 102 | } |
| 103 | bcount = total_cycles() - event_time; | |
| 103 | bcount = total_cycles() + icount - event_time; | |
| 104 | 104 | } |
| 105 | 105 | |
| 106 | 106 | void mcs96_device::check_irq() |
| r32267 | r32268 | |
|---|---|---|
| 166 | 166 | bcount = 0; |
| 167 | 167 | return; |
| 168 | 168 | } |
| 169 | bcount = total_cycles() - event_time; | |
| 169 | bcount = total_cycles() + icount - event_time; | |
| 170 | 170 | } |
| 171 | 171 | |
| 172 | 172 | void h8_device::execute_run() |
| Previous | 199869 Revisions | Next |