summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoSoftware/Src/EfbCopy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Plugins/Plugin_VideoSoftware/Src/EfbCopy.cpp')
-rw-r--r--Source/Plugins/Plugin_VideoSoftware/Src/EfbCopy.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/EfbCopy.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/EfbCopy.cpp
index 96ecf82ba3..1bf9a163b1 100644
--- a/Source/Plugins/Plugin_VideoSoftware/Src/EfbCopy.cpp
+++ b/Source/Plugins/Plugin_VideoSoftware/Src/EfbCopy.cpp
@@ -25,6 +25,7 @@
#include "VideoConfig.h"
#include "DebugUtil.h"
#include "HwRasterizer.h"
+#include "CommandProcessor.h"
namespace EfbCopy
@@ -73,7 +74,7 @@ namespace EfbCopy
if (bpmem.triggerEFBCopy.copy_to_xfb)
DebugUtil::OnFrameEnd();
- if (!g_SkipFrame)
+ if (!g_bSkipCurrentFrame)
{
if (bpmem.triggerEFBCopy.copy_to_xfb)
{
@@ -95,5 +96,13 @@ namespace EfbCopy
ClearEfb();
}
}
+ else
+ {
+ if (bpmem.triggerEFBCopy.copy_to_xfb)
+ {
+ // no frame rendered but tell that a frame has finished for frame skip counter
+ g_VideoInitialize.pCopiedToXFB(false);
+ }
+ }
}
} \ No newline at end of file