Fix debuggers not logging

This commit is contained in:
Jeffrey Pfau 2014-09-01 02:05:37 -07:00
parent be13627d37
commit c1abe54ec9
1 changed files with 1 additions and 0 deletions

View File

@ -144,6 +144,7 @@ static THREAD_ENTRY _GBAThreadRun(void* context) {
} }
if (threadContext->debugger) { if (threadContext->debugger) {
threadContext->debugger->log = GBADebuggerLogShim;
GBAAttachDebugger(&gba, threadContext->debugger); GBAAttachDebugger(&gba, threadContext->debugger);
ARMDebuggerEnter(threadContext->debugger, DEBUGGER_ENTER_ATTACHED); ARMDebuggerEnter(threadContext->debugger, DEBUGGER_ENTER_ATTACHED);
} }