z80: fix port addressing in some cases

This commit is contained in:
alyosha-tas 2018-03-15 20:47:47 -04:00
parent 760ae8edf0
commit 8ebcadbc58
1 changed files with 2 additions and 2 deletions

View File

@ -419,7 +419,7 @@
private void IN_OP_R(ushort operation, ushort repeat_instr)
{
cur_instr = new ushort[]
{IN, ALU, C,
{IN, ALU, C, B,
IDLE,
WR, L, H, ALU,
IDLE,
@ -438,7 +438,7 @@
cur_instr = new ushort[]
{RD, ALU, L, H,
IDLE,
OUT, C, ALU,
OUT, C, B, ALU,
IDLE,
IDLE,
operation, L, H,