LR35902: Fix LD (HL) instructions
Jeffrey Pfau jeffrey@endrift.com
Wed, 20 Jan 2016 21:07:51 -0800
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
src/lr35902/isa-lr35902.c
→
src/lr35902/isa-lr35902.c
@@ -189,8 +189,9 @@
#define DEFINE_LDHL__INSTRUCTION_LR35902(NAME, OPERAND) \ DEFINE_INSTRUCTION_LR35902(LDHL_ ## NAME, \ cpu->bus = OPERAND; \ + cpu->index = LR35902ReadHL(cpu); \ cpu->executionState = LR35902_CORE_MEMORY_STORE; \ - cpu->instruction = _LR35902InstructionLDHL_Bus;) + cpu->instruction = _LR35902InstructionNOP;) #define DEFINE_LDA__INSTRUCTION_LR35902(NAME, OPERAND) \ DEFINE_INSTRUCTION_LR35902(LDA_ ## NAME, \