Emulator: Fix LD A,(HL-) opcode: 0x3a

This commit is contained in:
Riyyi
2022-09-01 14:26:58 +02:00
parent 70778840c7
commit a4743fa77b
+1 -1
View File
@@ -867,7 +867,7 @@ void CPU::lda8()
m_a = read(address);
// Decrement HL
address = (address + 1) & 0xffff;
address = (address - 1) & 0xffff;
m_l = address & 0xff;
m_h = address >> 8;
break;