gsdx: avoid null pointer deferencement

This commit is contained in:
Gregory Hainaut 2015-09-25 20:59:36 +02:00
parent 421043ed12
commit 78b73ba585
1 changed files with 2 additions and 1 deletions

View File

@ -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);
} }