LR35902: Fix ADD HL instructions
Jeffrey Pfau jeffrey@endrift.com
Tue, 19 Jan 2016 22:08:13 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/lr35902/isa-lr35902.c
→
src/lr35902/isa-lr35902.c
@@ -453,7 +453,7 @@ DEFINE_INSTRUCTION_LR35902(ADDHL_ ## REG, \
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);