GSDX-TextureCache: Don't allow RT size below default value

Fixes upscaling issues on Burnout dominator where setting custom resolution of 640x448 looks way worse than the native resolution.
This commit is contained in:
Akash 2016-07-01 17:51:07 +05:30
parent a5671f016a
commit 309a8283b2
1 changed files with 2 additions and 1 deletions

View File

@ -114,7 +114,8 @@ void GSRendererHW::SetScaling()
ratio = round(ratio + buffer_scale_offset);
m_tc->RemovePartial();
m_height = crtc_size.y * ratio;
m_width = max(m_width, 1280);
m_height = max(static_cast<int>(crtc_size.y * ratio) , 1024);
}
}