mirror of https://github.com/mgba-emu/mgba.git
Fix stub debugger entering
This commit is contained in:
parent
12e5425b9b
commit
a7eced1324
|
@ -553,7 +553,7 @@ void GBADebuggerLogShim(struct ARMDebugger* debugger, enum DebuggerLogLevel leve
|
|||
|
||||
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue