GBA Video: Fix thread proxy batch end

This commit is contained in:
Jeffrey Pfau 2016-08-05 22:40:02 -07:00
parent 6e47d402c8
commit 6f1a3918b9

View File

@ -214,7 +214,7 @@ void GBAVideoThreadProxyRendererDrawScanline(struct GBAVideoRenderer* renderer,
0xDEADBEEF,
};
RingFIFOWrite(&proxyRenderer->dirtyQueue, &dirty, sizeof(dirty));
if (!(y & 15)) {
if ((y & 15) == 15) {
ConditionWake(&proxyRenderer->toThreadCond);
}
}