mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
UI: Correct screenshot paths.
This was preventing screenshots from saving properly.
This commit is contained in:
parent
01dc3c193a
commit
59322d3063
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue