LR35902: Fix RES/SET/BIT HL

This commit is contained in:
Jeffrey Pfau 2016-01-20 21:51:18 -08:00
parent 34b90477ce
commit e284a059a2
1 changed files with 1 additions and 1 deletions

View File

@ -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); \