diff --git a/core/hw/pvr/ta_ctx.cpp b/core/hw/pvr/ta_ctx.cpp index 12c237159..1e3b88136 100644 --- a/core/hw/pvr/ta_ctx.cpp +++ b/core/hw/pvr/ta_ctx.cpp @@ -113,6 +113,14 @@ TA_context* DequeueRender() return rv; } +bool rend_framePending() { + mtx_rqueue.Lock(); + TA_context* rv = rqueue; + mtx_rqueue.Unlock(); + + return rv != 0; +} + void FinishRender(TA_context* ctx) { verify(rqueue == ctx);