mirror of https://github.com/mgba-emu/mgba.git
Core: Fix non-debugger build
This commit is contained in:
parent
bc9bb43f88
commit
7ace2ac14f
|
@ -92,12 +92,14 @@ static void _wait(struct mCoreThreadInternal* threadContext) {
|
|||
MutexUnlock(&threadContext->sync.audioBufferMutex);
|
||||
}
|
||||
|
||||
#ifdef USE_DEBUGGERS
|
||||
if (threadContext->core && threadContext->core->debugger) {
|
||||
struct mDebugger* debugger = threadContext->core->debugger;
|
||||
if (debugger->interrupt) {
|
||||
debugger->interrupt(debugger);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
MutexLock(&threadContext->stateMutex);
|
||||
ConditionWake(&threadContext->stateCond);
|
||||
|
|
Loading…
Reference in New Issue