all repos — mgba @ e284a059a2e4ae84ee10c2a7f1b78d00420bf41b

mGBA Game Boy Advance Emulator

LR35902: Fix RES/SET/BIT HL
Jeffrey Pfau jeffrey@endrift.com
Wed, 20 Jan 2016 21:51:18 -0800
commit

e284a059a2e4ae84ee10c2a7f1b78d00420bf41b

parent

34b90477ce7e9055eb010e3a6e36ed97822dca0b

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/lr35902/isa-lr35902.csrc/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); \