diff --git a/src/gba/gba-thread.c b/src/gba/gba-thread.c index 12ca41900..d1ca8c9ba 100644 --- a/src/gba/gba-thread.c +++ b/src/gba/gba-thread.c @@ -144,6 +144,7 @@ static THREAD_ENTRY _GBAThreadRun(void* context) { } if (threadContext->debugger) { + threadContext->debugger->log = GBADebuggerLogShim; GBAAttachDebugger(&gba, threadContext->debugger); ARMDebuggerEnter(threadContext->debugger, DEBUGGER_ENTER_ATTACHED); }