mirror of https://github.com/PCSX2/pcsx2.git
GSdx: Some fixes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2066 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
66d92503aa
commit
e8d858c675
|
@ -123,6 +123,7 @@ public:
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
//Breath of Fire Dragon Quarter triggers this in battles. Graphics are fine though.
|
||||||
ASSERT(0);
|
ASSERT(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -144,21 +145,29 @@ public:
|
||||||
{
|
{
|
||||||
if(m_vt.m_max.p.z > 0xffffff)
|
if(m_vt.m_max.p.z > 0xffffff)
|
||||||
{
|
{
|
||||||
ASSERT(m_vt.m_min.p.z > 0xffffff);
|
//ASSERT(m_vt.m_min.p.z > 0xffffff);
|
||||||
|
// Fixme :Following conditional fixes some dialog frame in Wild Arms 3, but may not be what was intended.
|
||||||
|
if (m_vt.m_min.p.z > 0xffffff)
|
||||||
|
{
|
||||||
vs_sel.bppz = 1;
|
vs_sel.bppz = 1;
|
||||||
om_dssel.ztst = ZTST_ALWAYS;
|
om_dssel.ztst = ZTST_ALWAYS;
|
||||||
}
|
}
|
||||||
|
//else printf ("GSdx: Z issue, please report\n");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if(context->ZBUF.PSM == PSM_PSMZ16 || context->ZBUF.PSM == PSM_PSMZ16S)
|
else if(context->ZBUF.PSM == PSM_PSMZ16 || context->ZBUF.PSM == PSM_PSMZ16S)
|
||||||
{
|
{
|
||||||
if(m_vt.m_max.p.z > 0xffff)
|
if(m_vt.m_max.p.z > 0xffff)
|
||||||
{
|
{
|
||||||
ASSERT(m_vt.m_min.p.z > 0xffff); // sfex capcom logo
|
//ASSERT(m_vt.m_min.p.z > 0xffff); // sfex capcom logo
|
||||||
|
// Fixme : Same as above, I guess.
|
||||||
|
if (m_vt.m_min.p.z > 0xffff)
|
||||||
|
{
|
||||||
vs_sel.bppz = 2;
|
vs_sel.bppz = 2;
|
||||||
om_dssel.ztst = ZTST_ALWAYS;
|
om_dssel.ztst = ZTST_ALWAYS;
|
||||||
}
|
}
|
||||||
|
//else printf ("GSdx: Z issue, please report\n");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -139,10 +139,10 @@ void GSSettingsDlg::OnInit()
|
||||||
CheckDlgButton(m_hWnd, IDC_BLUR, theApp.GetConfig("blur", 0));
|
CheckDlgButton(m_hWnd, IDC_BLUR, theApp.GetConfig("blur", 0));
|
||||||
CheckDlgButton(m_hWnd, IDC_NATIVERES, theApp.GetConfig("nativeres", 0));
|
CheckDlgButton(m_hWnd, IDC_NATIVERES, theApp.GetConfig("nativeres", 0));
|
||||||
|
|
||||||
SendMessage(GetDlgItem(m_hWnd, IDC_RESX), UDM_SETRANGE, 0, MAKELPARAM(4096, 512));
|
SendMessage(GetDlgItem(m_hWnd, IDC_RESX), UDM_SETRANGE, 0, MAKELPARAM(8192, 256));
|
||||||
SendMessage(GetDlgItem(m_hWnd, IDC_RESX), UDM_SETPOS, 0, MAKELPARAM(theApp.GetConfig("resx", 1024), 0));
|
SendMessage(GetDlgItem(m_hWnd, IDC_RESX), UDM_SETPOS, 0, MAKELPARAM(theApp.GetConfig("resx", 1024), 0));
|
||||||
|
|
||||||
SendMessage(GetDlgItem(m_hWnd, IDC_RESY), UDM_SETRANGE, 0, MAKELPARAM(4096, 512));
|
SendMessage(GetDlgItem(m_hWnd, IDC_RESY), UDM_SETRANGE, 0, MAKELPARAM(8192, 256));
|
||||||
SendMessage(GetDlgItem(m_hWnd, IDC_RESY), UDM_SETPOS, 0, MAKELPARAM(theApp.GetConfig("resy", 1024), 0));
|
SendMessage(GetDlgItem(m_hWnd, IDC_RESY), UDM_SETPOS, 0, MAKELPARAM(theApp.GetConfig("resy", 1024), 0));
|
||||||
|
|
||||||
SendMessage(GetDlgItem(m_hWnd, IDC_SWTHREADS), UDM_SETRANGE, 0, MAKELPARAM(16, 1));
|
SendMessage(GetDlgItem(m_hWnd, IDC_SWTHREADS), UDM_SETRANGE, 0, MAKELPARAM(16, 1));
|
||||||
|
|
|
@ -600,15 +600,16 @@ GSTextureCache::Source* GSTextureCache::CreateSource(const GIFRegTEX0& TEX0, con
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//else if(tw < tp)
|
else if(tw < tp)
|
||||||
//{
|
{
|
||||||
// // FIXME: timesplitters blurs the render target by blending itself over a couple of times
|
// FIXME: timesplitters blurs the render target by blending itself over a couple of times
|
||||||
|
|
||||||
// if(tw == 256 && th == 128 && tp == 512 && (TEX0.TBP0 == 0 || TEX0.TBP0 == 0x00e00))
|
if(tw == 256 && th == 128 && tp == 512 && (TEX0.TBP0 == 0 || TEX0.TBP0 == 0x00e00))
|
||||||
// {
|
{
|
||||||
// return false;
|
delete src;
|
||||||
// }
|
return false;
|
||||||
//}
|
}
|
||||||
|
}
|
||||||
// width/height conversion
|
// width/height conversion
|
||||||
|
|
||||||
GSVector2 scale = dst->m_texture->GetScale();
|
GSVector2 scale = dst->m_texture->GetScale();
|
||||||
|
|
Loading…
Reference in New Issue