mirror of https://github.com/PCSX2/pcsx2.git
GS/CRC: Fix Ar Tonelico 2 CRC hack to check DS exists
This commit is contained in:
parent
703c02c32c
commit
89dcb78efa
|
@ -945,7 +945,7 @@ bool GSHwHack::OI_ArTonelico2(GSRendererHW& r, GSTexture* rt, GSTexture* ds, GST
|
|||
|
||||
const GSVertex* v = &r.m_vertex.buff[0];
|
||||
|
||||
if (r.m_vertex.next == 2 && !RPRIM->TME && RFRAME.FBW == 10 && v->XYZ.Z == 0 && RTEST.ZTST == ZTST_ALWAYS)
|
||||
if (ds && r.m_vertex.next == 2 && !RPRIM->TME && RFRAME.FBW == 10 && v->XYZ.Z == 0 && RTEST.ZTST == ZTST_ALWAYS)
|
||||
{
|
||||
GL_INS("OI_ArTonelico2");
|
||||
g_gs_device->ClearDepth(ds, 0.0f);
|
||||
|
|
Loading…
Reference in New Issue