LR35902: RST should set active region

This commit is contained in:
Jeffrey Pfau 2016-02-20 02:09:47 -08:00
parent 0ddac5e961
commit 96ca86ed90
1 changed files with 1 additions and 0 deletions

View File

@ -745,6 +745,7 @@ DEFINE_INSTRUCTION_LR35902(HALT, cpu->irqh.halt(cpu));
cpu->index = cpu->sp; \
cpu->bus = cpu->pc; \
cpu->pc = 0x ## VEC; \
cpu->memory.setActiveRegion(cpu, cpu->pc); \
cpu->executionState = LR35902_CORE_MEMORY_STORE; \
cpu->instruction = _LR35902InstructionNOP;) \
DEFINE_INSTRUCTION_LR35902(RST ## VEC ## UpdateSPH, \