From b7a5c067baebff628cf513833fe32c79bfa7aa61 Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Tue, 10 Nov 2009 13:05:56 +0000 Subject: [PATCH] GSdx: - Detect more games that blur (Dragon Quest 8) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2175 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/GSdx/GSRenderer.cpp | 3 ++- plugins/GSdx/GSState.cpp | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/GSdx/GSRenderer.cpp b/plugins/GSdx/GSRenderer.cpp index 71043d03c9..88c57806ec 100644 --- a/plugins/GSdx/GSRenderer.cpp +++ b/plugins/GSdx/GSRenderer.cpp @@ -129,7 +129,7 @@ bool GSRenderer::Merge(int field) bool blurdetected = false; - if(samesrc && m_regs->PMODE.SLBG == 0 && m_regs->PMODE.MMOD == 1 && m_regs->PMODE.ALP == 0x80) + if(samesrc /*&& m_regs->PMODE.SLBG == 0 && m_regs->PMODE.MMOD == 1 && m_regs->PMODE.ALP == 0x80*/) { if(fr[0].eq(fr[1] + GSVector4i(0, -1, 0, 0)) && dr[0].eq(dr[1] + GSVector4i(0, 0, 0, 1)) || fr[1].eq(fr[0] + GSVector4i(0, -1, 0, 0)) && dr[1].eq(dr[0] + GSVector4i(0, 0, 0, 1))) @@ -179,6 +179,7 @@ bool GSRenderer::Merge(int field) blurdetected = true; } + //printf("samesrc = %d blurdetected = %d\n",samesrc,blurdetected); } GSVector2i fs(0, 0); diff --git a/plugins/GSdx/GSState.cpp b/plugins/GSdx/GSState.cpp index 587b633aea..e86beb4e63 100644 --- a/plugins/GSdx/GSState.cpp +++ b/plugins/GSdx/GSState.cpp @@ -254,12 +254,12 @@ GSVector4i GSState::GetFrameRect(int i) if(m_regs->SMODE2.INT && m_regs->SMODE2.FFMD && h > 1) h >>= 1; - //Breaks Disgaea2 FMV borders, causes blur in dragon quest 8 + //Breaks Disgaea2 FMV borders r.left = m_regs->DISP[i].DISPFB.DBX; r.top = m_regs->DISP[i].DISPFB.DBY; r.right = r.left + w; r.bottom = r.top + h; - + //printf("%d %d %d %d %d %d\n",w,h,r.left,r.top,r.right,r.bottom); return r; }