Merge pull request #1818 from ZephyrSurfer/master

Fix scaling in Virtual XFB.
This commit is contained in:
Markus Wick
2015-01-13 07:58:54 +01:00
2 changed files with 3 additions and 1 deletions

View File

@ -1503,7 +1503,7 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, co
sourceRc.top = xfbSource->sourceRc.top;
sourceRc.bottom = xfbSource->sourceRc.bottom;
sourceRc.right -= fbStride - fbWidth;
sourceRc.right -= Renderer::EFBToScaledX(fbStride - fbWidth);
BlitScreen(sourceRc, drawRc, xfbSource->texture, xfbSource->texWidth, xfbSource->texHeight);
}