mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-16 03:00:36 +01:00
gsdx: avoid null pointer deferencement
This commit is contained in:
1 parent
421043ed12
commit
78b73ba585
1 file changed
+2
-1
@@ -596,7 +596,8 @@ void GSRendererHW::Draw()
|
||||
{
|
||||
s = format("%05d_f%lld_rz1_%05x_%d.bmp", s_n, frame, context->ZBUF.Block(), context->ZBUF.PSM);
|
||||
|
||||
ds_tex->Save(root_hw+s);
|
||||
if (ds_tex)
|
||||
ds_tex->Save(root_hw+s);
|
||||
}
|
||||
|
||||
s_n++;
|
||||
|
||||
Reference in new issue
Block a user