mirror of https://github.com/mgba-emu/mgba.git
LR35902: Fix RES/SET/BIT HL
This commit is contained in:
parent
34b90477ce
commit
e284a059a2
|
@ -632,7 +632,7 @@ DEFINE_POPPUSH_INSTRUCTION_LR35902(AF, A, a, f.packed);
|
||||||
uint8_t reg = cpu->bus; \
|
uint8_t reg = cpu->bus; \
|
||||||
BODY; \
|
BODY; \
|
||||||
cpu->bus = reg; \
|
cpu->bus = reg; \
|
||||||
cpu->executionState = LR35902_CORE_MEMORY_LOAD; \
|
cpu->executionState = LR35902_CORE_MEMORY_STORE; \
|
||||||
cpu->instruction = _LR35902InstructionNOP;) \
|
cpu->instruction = _LR35902InstructionNOP;) \
|
||||||
DEFINE_INSTRUCTION_LR35902(NAME ## HL, \
|
DEFINE_INSTRUCTION_LR35902(NAME ## HL, \
|
||||||
cpu->index = LR35902ReadHL(cpu); \
|
cpu->index = LR35902ReadHL(cpu); \
|
||||||
|
|
Loading…
Reference in New Issue