Merge pull request from booto/xfb_lines

VideoCommon: xfb height calculation adjusted
This commit is contained in:
Markus Wick 2015-09-03 09:40:24 +02:00
commit ad978122d9
1 changed files with 1 additions and 1 deletions
Source/Core/VideoCommon

View File

@ -241,7 +241,7 @@ static void BPWritten(const BPCmd& bp)
else
yScale = (float)bpmem.dispcopyyscale / 256.0f;
float num_xfb_lines = ((bpmem.copyTexSrcWH.y + 1.0f) * yScale);
float num_xfb_lines = 1.0f + bpmem.copyTexSrcWH.y * yScale;
u32 height = static_cast<u32>(num_xfb_lines);
if (height > MAX_XFB_HEIGHT)