LR35902: Fix ADD HL instructions

This commit is contained in:
Jeffrey Pfau 2016-01-19 22:08:13 -08:00
parent 3158db06c2
commit e4a17e12f4
1 changed files with 1 additions and 1 deletions

View File

@ -453,7 +453,7 @@ DEFINE_INCDEC_WIDE_INSTRUCTION_LR35902(HL);
int diff = L + cpu->l; \
cpu->l = diff; \
cpu->f.c = diff >= 0x100; \
cpu->executionState = LR35902_CORE_STALL; \
cpu->executionState = LR35902_CORE_OP2; \
cpu->instruction = _LR35902InstructionADDHL_ ## REG ## Finish;)
DEFINE_ADD_HL_INSTRUCTION_LR35902(BC, cpu->c, cpu->b);