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
eb23269011
commit
d16737ccf2
|
@ -96,6 +96,7 @@ static THREAD_ENTRY _GBAThreadRun(void* context) {
|
||||||
|
|
||||||
if (threadContext->debugger) {
|
if (threadContext->debugger) {
|
||||||
GBAAttachDebugger(&gba, threadContext->debugger);
|
GBAAttachDebugger(&gba, threadContext->debugger);
|
||||||
|
ARMDebuggerEnter(threadContext->debugger, DEBUGGER_ENTER_ATTACHED);
|
||||||
}
|
}
|
||||||
|
|
||||||
gba.keySource = &threadContext->activeKeys;
|
gba.keySource = &threadContext->activeKeys;
|
||||||
|
|
Loading…
Reference in New Issue