mirror of https://github.com/mgba-emu/mgba.git
Automatically break into the debugger if it was provided at launch time
This commit is contained in:
parent
285b94b66a
commit
5a17030c65
|
@ -96,6 +96,7 @@ static THREAD_ENTRY _GBAThreadRun(void* context) {
|
|||
|
||||
if (threadContext->debugger) {
|
||||
GBAAttachDebugger(&gba, threadContext->debugger);
|
||||
ARMDebuggerEnter(threadContext->debugger, DEBUGGER_ENTER_ATTACHED);
|
||||
}
|
||||
|
||||
gba.keySource = &threadContext->activeKeys;
|
||||
|
|
Loading…
Reference in New Issue