From 309a8283b2c99d29865055b33c376ac87a55fe42 Mon Sep 17 00:00:00 2001 From: Akash Date: Fri, 1 Jul 2016 17:51:07 +0530 Subject: [PATCH] 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. --- plugins/GSdx/GSRendererHW.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/GSdx/GSRendererHW.cpp b/plugins/GSdx/GSRendererHW.cpp index abe6708bb1..77cffcbb6a 100644 --- a/plugins/GSdx/GSRendererHW.cpp +++ b/plugins/GSdx/GSRendererHW.cpp @@ -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(crtc_size.y * ratio) , 1024); } }