From 4ac00ea969d22f9e81f73313767348c944930cf5 Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Thu, 12 Nov 2009 09:50:05 +0000 Subject: [PATCH] GSdx: Gave up on the smart m_width / m_height adjustments for now. This just won't work the way I imagined it :/ Using a "common" size of 640*512 instead. This means some odd games might use a wrong output surface again (they always did this on the normal upscaler). git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2190 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/GSdx/GSRendererHW.h | 42 ------------------------------------- 1 file changed, 42 deletions(-) diff --git a/plugins/GSdx/GSRendererHW.h b/plugins/GSdx/GSRendererHW.h index d6af92e3be..725b0bb4c2 100644 --- a/plugins/GSdx/GSRendererHW.h +++ b/plugins/GSdx/GSRendererHW.h @@ -495,27 +495,6 @@ protected: TEX0.PSM = DISPFB.PSM; // TRACE(_T("[%d] GetOutput %d %05x (%d)\n"), (int)m_perfmon.GetFrame(), i, (int)TEX0.TBP0, (int)TEX0.PSM); - - //This routine ups m_width and m_height globally, should games have a bigger native res than the startup values - //(currently 640*512, because of some unknown yet problem with smaller sizes) - int multiplier = upscale_Multiplier(); - if (multiplier > 1) - { - int testh = GetDisplayRect().height() * multiplier; - //on startup testh and testw are 1 for a while (invalid) - if ((testh > m_height) && testh != 1) { - m_height=testh; - //printf("changed height > %d\n", m_height ); - } - else if (testh == 1)return NULL; - - int testw = GetDisplayRect().width() * multiplier; - if ((testw > m_width) && testw != 1 ) { - m_width=testw; - //printf("changed width > %d\n", m_width ); - } - else if (testw == 1)return NULL; - } GSTexture* t = NULL; @@ -555,27 +534,6 @@ protected: { if(IsBadFrame(m_skip, m_gamefix_skipdraw)) return; - //This routine ups m_width and m_height globally, should games have a bigger native res than the startup values - //(currently 640*512, because of some unknown yet problem with smaller sizes) - int multiplier = upscale_Multiplier(); - if (multiplier > 1) - { - int testh = GetDisplayRect().height() * multiplier; - //on startup testh and testw are 1 for a while (invalid) - if ((testh > m_height) && testh != 1) { - m_height=testh; - //printf("changed height > %d\n", m_height ); - } - else if (testh == 1)return; - - int testw = GetDisplayRect().width() * multiplier; - if ((testw > m_width) && testw != 1 ) { - m_width=testw; - //printf("changed width > %d\n", m_width ); - } - else if (testw == 1)return; - } - GSDrawingEnvironment& env = m_env; GSDrawingContext* context = m_context;