mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
fix recompute_bcount regression
This commit is contained in:
parent
24d5e1dad3
commit
a3744a6e0e
@ -166,7 +166,7 @@ void h8_device::recompute_bcount(UINT64 event_time)
|
||||
bcount = 0;
|
||||
return;
|
||||
}
|
||||
bcount = total_cycles() - event_time;
|
||||
bcount = total_cycles() + icount - event_time;
|
||||
}
|
||||
|
||||
void h8_device::execute_run()
|
||||
|
@ -96,11 +96,11 @@ UINT32 mcs96_device::execute_input_lines() const
|
||||
|
||||
void mcs96_device::recompute_bcount(UINT64 event_time)
|
||||
{
|
||||
if(!event_time || event_time >= total_cycles()+icount) {
|
||||
if(!event_time || event_time >= total_cycles() + icount) {
|
||||
bcount = 0;
|
||||
return;
|
||||
}
|
||||
bcount = total_cycles() - event_time;
|
||||
bcount = total_cycles() + icount - event_time;
|
||||
}
|
||||
|
||||
void mcs96_device::check_irq()
|
||||
|
Loading…
Reference in New Issue
Block a user