mirror of https://github.com/PCSX2/pcsx2.git
gsdx: avoid null pointer deferencement
This commit is contained in:
parent
421043ed12
commit
78b73ba585
|
@ -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);
|
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++;
|
s_n++;
|
||||||
|
|
Loading…
Reference in New Issue