mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-18 20:14:23 +01:00
ZeroGS: Add a missing formatter to a sprintf call
This commit is contained in:
1 parent
b9ff3b6c81
commit
ba0d3d1a6a
2 files changed
+2
-2
No files matched your search
@@ -2070,7 +2070,7 @@ void ZeroGS::Flush(int context)
|
||||
#ifdef PCSX2_DEBUG
|
||||
if( g_bSaveFlushedFrame & 0x80000000 ) {
|
||||
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);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user