diff options
Diffstat (limited to 'Source/Core/VideoCommon/BPStructs.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/BPStructs.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/BPStructs.cpp b/Source/Core/VideoCommon/BPStructs.cpp index d7d80a1bfa..925619e797 100644 --- a/Source/Core/VideoCommon/BPStructs.cpp +++ b/Source/Core/VideoCommon/BPStructs.cpp @@ -312,14 +312,13 @@ 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, srcRect, - CoreTiming::GetTicks()); + g_renderer->Swap(destAddr, destStride / 2, destStride, height, CoreTiming::GetTicks()); } else { if (FifoPlayer::GetInstance().IsRunningWithFakeVideoInterfaceUpdates()) { - VideoInterface::FakeVIUpdate(destAddr, srcRect.GetWidth(), height); + VideoInterface::FakeVIUpdate(destAddr, srcRect.GetWidth(), destStride, height); } } } |
