We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98c557a commit 4f1e2f7Copy full SHA for 4f1e2f7
z80.c
@@ -2133,6 +2133,7 @@ static unsigned exec_opcode_ed(z80* const z, uint8_t opcode) {
2133
if (z->b > 0) {
2134
z->pc -= 2;
2135
cyc += 5;
2136
+ z->mem_ptr = z->pc + 1;
2137
}
2138
break; // inir
2139
case 0xAA: cyc += 16; ind(z); break; // ind
@@ -2142,6 +2143,7 @@ static unsigned exec_opcode_ed(z80* const z, uint8_t opcode) {
2142
2143
2144
2145
2146
2147
2148
break; // indr
2149
0 commit comments