From 4964fc87ae15600252cea8a07df5799e91c11875 Mon Sep 17 00:00:00 2001 From: iwubcode Date: Fri, 29 Sep 2017 00:31:08 -0500 Subject: Video Backends: Remove the right of the xfb region for games where the VI stride does not match the VI width --- Source/Core/VideoCommon/BPStructs.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/BPStructs.cpp') diff --git a/Source/Core/VideoCommon/BPStructs.cpp b/Source/Core/VideoCommon/BPStructs.cpp index 93de3aabe5..5bf53832c3 100644 --- a/Source/Core/VideoCommon/BPStructs.cpp +++ b/Source/Core/VideoCommon/BPStructs.cpp @@ -270,7 +270,8 @@ static void BPWritten(const BPCmd& bp) if (g_ActiveConfig.bImmediateXFB) { // below div two to convert from bytes to pixels - it expects width, not stride - g_renderer->Swap(destAddr, destStride / 2, destStride / 2, height, false, srcRect, CoreTiming::GetTicks()); + g_renderer->Swap(destAddr, destStride / 2, destStride / 2, height, srcRect, + CoreTiming::GetTicks()); } else { -- cgit v1.2.3