GBA Video: Remove unhelpful thread state jiggering
Jeffrey Pfau jeffrey@endrift.com
Wed, 24 Aug 2016 02:58:10 -0700
1 files changed,
0 insertions(+),
2 deletions(-)
jump to
M
src/gba/renderers/thread-proxy.c
→
src/gba/renderers/thread-proxy.c
@@ -349,9 +349,7 @@ while (!RingFIFORead(&proxyRenderer->dirtyQueue, &proxyRenderer->vramProxy[item.address >> 1], 0x1000)) {
mLOG(GBA_VIDEO, WARN, "Proxy thread can't read VRAM. CPU thread asleep?"); MutexLock(&proxyRenderer->mutex); ConditionWake(&proxyRenderer->fromThreadCond); - proxyRenderer->threadState = PROXY_THREAD_IDLE; ConditionWait(&proxyRenderer->toThreadCond, &proxyRenderer->mutex); - proxyRenderer->threadState = PROXY_THREAD_BUSY; MutexUnlock(&proxyRenderer->mutex); } proxyRenderer->backend->writeVRAM(proxyRenderer->backend, item.address);