mirror of https://github.com/PCSX2/pcsx2.git
GSdx:
- Detect more games that blur (Dragon Quest 8) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2175 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
efdeabd865
commit
b7a5c067ba
|
@ -129,7 +129,7 @@ bool GSRenderer::Merge(int field)
|
||||||
|
|
||||||
bool blurdetected = false;
|
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))
|
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)))
|
|| 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;
|
blurdetected = true;
|
||||||
}
|
}
|
||||||
|
//printf("samesrc = %d blurdetected = %d\n",samesrc,blurdetected);
|
||||||
}
|
}
|
||||||
|
|
||||||
GSVector2i fs(0, 0);
|
GSVector2i fs(0, 0);
|
||||||
|
|
|
@ -254,12 +254,12 @@ GSVector4i GSState::GetFrameRect(int i)
|
||||||
|
|
||||||
if(m_regs->SMODE2.INT && m_regs->SMODE2.FFMD && h > 1) h >>= 1;
|
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.left = m_regs->DISP[i].DISPFB.DBX;
|
||||||
r.top = m_regs->DISP[i].DISPFB.DBY;
|
r.top = m_regs->DISP[i].DISPFB.DBY;
|
||||||
r.right = r.left + w;
|
r.right = r.left + w;
|
||||||
r.bottom = r.top + h;
|
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;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue