aboutsummaryrefslogtreecommitdiff
path: root/src/GPU2D.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/GPU2D.cpp')
-rw-r--r--src/GPU2D.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/GPU2D.cpp b/src/GPU2D.cpp
index 030936e..d2a8b34 100644
--- a/src/GPU2D.cpp
+++ b/src/GPU2D.cpp
@@ -581,7 +581,11 @@ void GPU2D::UpdateMosaicCounters(u32 line)
void GPU2D::VBlank()
{
- CaptureCnt &= ~(1<<31);
+ if (CaptureLatch)
+ {
+ CaptureCnt &= ~(1<<31);
+ CaptureLatch = false;
+ }
DispFIFOReadPtr = 0;
DispFIFOWritePtr = 0;