z80: WZ fixes
This commit is contained in:
parent
cd7df2ea07
commit
7ad65bd96e
BizHawk.Emulation.Cores/CPUs/Z80A
|
@ -541,7 +541,7 @@ namespace BizHawk.Emulation.Cores.Components.Z80A
|
|||
WAIT,
|
||||
WAIT,
|
||||
OUT, Z, W, A,
|
||||
INC16, Z, W,
|
||||
INC16, Z, ALU,
|
||||
WAIT,
|
||||
OP_F,
|
||||
OP};
|
||||
|
|
|
@ -491,10 +491,10 @@ namespace BizHawk.Emulation.Cores.Components.Z80A
|
|||
if (((Regs[C] | (Regs[B] << 8)) != 0) && (Ztemp3 > 0))
|
||||
{
|
||||
cur_instr = new ushort[]
|
||||
{TR16, Z, W, PCl, PCh,
|
||||
INC16, Z, W,
|
||||
DEC16, PCl, PCh,
|
||||
{DEC16, PCl, PCh,
|
||||
DEC16, PCl, PCh,
|
||||
TR16, Z, W, PCl, PCh,
|
||||
INC16, Z, W,
|
||||
IDLE,
|
||||
Ztemp2, E, D,
|
||||
WAIT,
|
||||
|
@ -525,10 +525,10 @@ namespace BizHawk.Emulation.Cores.Components.Z80A
|
|||
if (((Regs[C] | (Regs[B] << 8)) != 0) && (Ztemp3 > 0) && !FlagZ)
|
||||
{
|
||||
cur_instr = new ushort[]
|
||||
{TR16, Z, W, PCl, PCh,
|
||||
INC16, Z, W,
|
||||
DEC16, PCl, PCh,
|
||||
{DEC16, PCl, PCh,
|
||||
DEC16, PCl, PCh,
|
||||
TR16, Z, W, PCl, PCh,
|
||||
INC16, Z, W,
|
||||
IDLE,
|
||||
Ztemp2, L, H,
|
||||
WAIT,
|
||||
|
|
Loading…
Reference in New Issue