mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-17 11:34:18 +01:00
GS/CRC: Fix Ar Tonelico 2 CRC hack to check DS exists
This commit is contained in:
1 parent
703c02c32c
commit
89dcb78efa
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user