z80: WZ fixes

This commit is contained in:
alyosha-tas 2018-06-07 11:11:56 -04:00
parent cd7df2ea07
commit 7ad65bd96e
2 changed files with 7 additions and 7 deletions
BizHawk.Emulation.Cores/CPUs/Z80A

View File

@ -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};

View File

@ -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,