diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2017-09-29 00:31:08 -0500 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2017-11-17 22:11:32 -0600 |
| commit | 4964fc87ae15600252cea8a07df5799e91c11875 (patch) | |
| tree | dfd067d59541079078dae594dcd2476db854a168 /Source/Core/VideoCommon/BPStructs.cpp | |
| parent | a129a53e56cdff93e2fd092fd56f3e0726408a60 (diff) | |
Video Backends: Remove the right of the xfb region for games where the
VI stride does not match the VI width
Diffstat (limited to 'Source/Core/VideoCommon/BPStructs.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/BPStructs.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 { |
