Video Backends: Remove the right of the xfb region for games where the

VI stride does not match the VI width
This commit is contained in:
iwubcode
2017-09-29 00:31:08 -05:00
parent a129a53e56
commit 4964fc87ae
10 changed files with 31 additions and 27 deletions

View File

@ -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
{