all repos — mgba @ a7eced1324432de36c24f2b62ae87bb3ac0892c5

mGBA Game Boy Advance Emulator

Fix stub debugger entering
Jeffrey Pfau jeffrey@endrift.com
Sat, 26 Apr 2014 18:25:45 -0700
commit

a7eced1324432de36c24f2b62ae87bb3ac0892c5

parent

12e5425b9b1f873dd70b4b2abc156556346fd2b1

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

jump to
M src/gba/gba.csrc/gba/gba.c

@@ -553,7 +553,7 @@ }

void GBAHitStub(struct ARMCore* cpu, uint32_t opcode) { - struct GBA* gba = (struct GBA*) cpu; + struct GBA* gba = (struct GBA*) cpu->master; enum GBALogLevel level = GBA_LOG_FATAL; if (gba->debugger) { level = GBA_LOG_STUB;