LR35902: Fix RES/SET/BIT HL
Jeffrey Pfau jeffrey@endrift.com
Wed, 20 Jan 2016 21:51:18 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/lr35902/isa-lr35902.c
→
src/lr35902/isa-lr35902.c
@@ -632,7 +632,7 @@ DEFINE_INSTRUCTION_LR35902(NAME ## HLDelay, \
uint8_t reg = cpu->bus; \ BODY; \ cpu->bus = reg; \ - cpu->executionState = LR35902_CORE_MEMORY_LOAD; \ + cpu->executionState = LR35902_CORE_MEMORY_STORE; \ cpu->instruction = _LR35902InstructionNOP;) \ DEFINE_INSTRUCTION_LR35902(NAME ## HL, \ cpu->index = LR35902ReadHL(cpu); \