Browse Source

Emulator: Fix LD L,(HL) opcode 0x6e

master
Riyyi 2 years ago
parent
commit
c396e7fcf6
  1. 2
      src/cpu.cpp

2
src/cpu.cpp

@ -1107,7 +1107,7 @@ void CPU::ldr8()
case 0x6d: /* LD L,L m_l = m_l; */ break; case 0x6d: /* LD L,L m_l = m_l; */ break;
case 0x6e: /* LD L,(HL) */ { case 0x6e: /* LD L,(HL) */ {
m_wait_cycles += 4; // + 4 = 8 total m_wait_cycles += 4; // + 4 = 8 total
m_e = read(hl()); m_l = read(hl());
break; break;
} }
case 0x6f: /* LD L,A */ m_l = m_a; break; case 0x6f: /* LD L,A */ m_l = m_a; break;

Loading…
Cancel
Save