mirror of https://github.com/mgba-emu/mgba.git
Fix debuggers not logging
This commit is contained in:
parent
be13627d37
commit
c1abe54ec9
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue