GBA Thread: Make sure idle loop setting is set at the right time
Jeffrey Pfau jeffrey@endrift.com
Sat, 24 Jan 2015 14:42:35 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/gba/gba-thread.c
→
src/gba/gba-thread.c
@@ -124,6 +124,7 @@ ARMInit(&cpu);
gba.sync = &threadContext->sync; threadContext->gba = &gba; gba.logLevel = threadContext->logLevel; + gba.idleOptimization = threadContext->idleOptimization; #ifdef USE_PTHREADS pthread_setspecific(_contextKey, threadContext); #else@@ -173,7 +174,6 @@
GBASIOSetDriverSet(&gba.sio, &threadContext->sioDrivers); gba.keySource = &threadContext->activeKeys; - gba.idleOptimization = threadContext->idleOptimization; if (threadContext->startCallback) { threadContext->startCallback(threadContext);