all repos — mgba @ 96ca86ed9035da5a6c060a74c184e6c5cdeaac53

mGBA Game Boy Advance Emulator

LR35902: RST should set active region
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Feb 2016 02:09:47 -0800
commit

96ca86ed9035da5a6c060a74c184e6c5cdeaac53

parent

0ddac5e9614cefe166bee5920ad4455b78d92a35

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/lr35902/isa-lr35902.csrc/lr35902/isa-lr35902.c

@@ -745,6 +745,7 @@ --cpu->sp; \

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, \