Update CP1610 to include Halts from SR2
This commit is contained in:
parent
eabd8dbf07
commit
33843265f8
|
@ -159,6 +159,14 @@ namespace BizHawk.Emulation.Cores.Components.CP1610
|
|||
TotalExecutedCycles += cycles;
|
||||
return cycles;
|
||||
}
|
||||
|
||||
// This simulates the Halting caused by the STIC during visible frame using SR2
|
||||
if (BusRq && Interruptible) {// && !IntRM && !Interrupted) {
|
||||
PendingCycles--;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
if (Logging)
|
||||
{
|
||||
int addrToAdvance;
|
||||
|
|
|
@ -95,7 +95,7 @@ namespace BizHawk.Emulation.Cores.Components.CP1610
|
|||
|
||||
public void SetBusRq(bool value)
|
||||
{
|
||||
BusRq = value;
|
||||
BusRq = !value;
|
||||
}
|
||||
|
||||
public int GetPendingCycles()
|
||||
|
|
Loading…
Reference in New Issue