mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 16:23:35 +01:00
UI: Correct screenshot paths.
This was preventing screenshots from saving properly.
This commit is contained in:
1 parent
01dc3c193a
commit
59322d3063
1 file changed
+2
-2
+2
-2
@@ -1017,9 +1017,9 @@ void TakeScreenshot() {
|
||||
Path filename;
|
||||
while (i < 10000){
|
||||
if (g_Config.bScreenshotsAsPNG)
|
||||
filename = path / StringFromFormat("%s_%05d.png", path.c_str(), gameId.c_str(), i);
|
||||
filename = path / StringFromFormat("%s_%05d.png", gameId.c_str(), i);
|
||||
else
|
||||
filename = path / StringFromFormat("%s_%05d.jpg", path.c_str(), gameId.c_str(), i);
|
||||
filename = path / StringFromFormat("%s_%05d.jpg", gameId.c_str(), i);
|
||||
File::FileInfo info;
|
||||
if (!File::Exists(filename))
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user