all repos — mgba @ 6f1a3918b90ebc569d8a7a2f99b77b51ef328b8f

mGBA Game Boy Advance Emulator

GBA Video: Fix thread proxy batch end
Jeffrey Pfau jeffrey@endrift.com
Fri, 05 Aug 2016 22:40:02 -0700
commit

6f1a3918b90ebc569d8a7a2f99b77b51ef328b8f

parent

6e47d402c8942ca4501d7a09d7e241b5f11a7340

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/gba/renderers/thread-proxy.csrc/gba/renderers/thread-proxy.c

@@ -214,7 +214,7 @@ 0,

0xDEADBEEF, }; RingFIFOWrite(&proxyRenderer->dirtyQueue, &dirty, sizeof(dirty)); - if (!(y & 15)) { + if ((y & 15) == 15) { ConditionWake(&proxyRenderer->toThreadCond); } }