mirror of https://github.com/PCSX2/pcsx2.git
ZeroGS: Add a missing formatter to a sprintf call
This commit is contained in:
parent
b9ff3b6c81
commit
ba0d3d1a6a
|
@ -2070,7 +2070,7 @@ void ZeroGS::Flush(int context)
|
||||||
#ifdef PCSX2_DEBUG
|
#ifdef PCSX2_DEBUG
|
||||||
if( g_bSaveFlushedFrame & 0x80000000 ) {
|
if( g_bSaveFlushedFrame & 0x80000000 ) {
|
||||||
char str[255];
|
char str[255];
|
||||||
sprintf(str, "rndr.tga", g_SaveFrameNum);
|
sprintf(str, "rndr%u.tga", g_SaveFrameNum);
|
||||||
D3DXSaveSurfaceToFile(str, D3DXIFF_TGA, curvb.prndr->psurf, NULL, NULL);
|
D3DXSaveSurfaceToFile(str, D3DXIFF_TGA, curvb.prndr->psurf, NULL, NULL);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -2529,7 +2529,7 @@ void ZeroGS::Flush(int context)
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
if( g_bSaveFlushedFrame & 0x80000000 ) {
|
if( g_bSaveFlushedFrame & 0x80000000 ) {
|
||||||
char str[255];
|
char str[255];
|
||||||
sprintf(str, "rndr.tga", g_SaveFrameNum);
|
sprintf(str, "rndr%u.tga", g_SaveFrameNum);
|
||||||
SaveRenderTarget(str, curvb.prndr->fbw, curvb.prndr->fbh, 0);
|
SaveRenderTarget(str, curvb.prndr->fbw, curvb.prndr->fbh, 0);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue