Fix stub debugger entering

This commit is contained in:
Jeffrey Pfau 2014-04-26 18:25:45 -07:00
parent 12e5425b9b
commit a7eced1324
1 changed files with 1 additions and 1 deletions

View File

@ -553,7 +553,7 @@ void GBADebuggerLogShim(struct ARMDebugger* debugger, enum DebuggerLogLevel leve
void GBAHitStub(struct ARMCore* cpu, uint32_t opcode) { 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; enum GBALogLevel level = GBA_LOG_FATAL;
if (gba->debugger) { if (gba->debugger) {
level = GBA_LOG_STUB; level = GBA_LOG_STUB;