Automatically break into the debugger if it was provided at launch time

This commit is contained in:
Jeffrey Pfau 2014-02-03 03:42:02 -08:00
parent 285b94b66a
commit 5a17030c65
1 changed files with 1 additions and 0 deletions

View File

@ -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;