diff options
Diffstat (limited to 'src/GPU2D_Soft.cpp')
-rw-r--r-- | src/GPU2D_Soft.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GPU2D_Soft.cpp b/src/GPU2D_Soft.cpp index a244083..325ab75 100644 --- a/src/GPU2D_Soft.cpp +++ b/src/GPU2D_Soft.cpp @@ -354,7 +354,7 @@ void SoftRenderer::VBlankEnd(Unit* unitA, Unit* unitB) #ifdef OGLRENDERER_ENABLED if (GPU3D::CurrentRenderer->Accelerated) { - if ((unitA->CaptureLatch) && (((unitA->CaptureCnt >> 29) & 0x3) != 1)) + if ((unitA->CaptureCnt & (1<<31)) && (((unitA->CaptureCnt >> 29) & 0x3) != 1)) { reinterpret_cast<GPU3D::GLRenderer*>(GPU3D::CurrentRenderer.get())->PrepareCaptureFrame(); } |