mirror of https://github.com/PCSX2/pcsx2.git
gsdx: avoid null pointer deferencement
This commit is contained in:
parent
421043ed12
commit
78b73ba585
|
@ -596,6 +596,7 @@ 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);
|
||||||
|
|
||||||
|
if (ds_tex)
|
||||||
ds_tex->Save(root_hw+s);
|
ds_tex->Save(root_hw+s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue