mirror of https://github.com/mgba-emu/mgba.git
LR35902: RST should set active region
This commit is contained in:
parent
0ddac5e961
commit
96ca86ed90
|
@ -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, \
|
||||
|
|
Loading…
Reference in New Issue