mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 06:20:26 +02:00
Core: Refactor screenshot saving.
So we can reuse the actual saving.
This commit is contained in:
1 parent
fe45a059b5
commit
79dc857527
5 files changed
+48
-48
No files matched your search
+1
-1
@@ -763,7 +763,7 @@ void TakeScreenshot() {
|
||||
i++;
|
||||
}
|
||||
|
||||
bool success = TakeGameScreenshot(filename, g_Config.bScreenshotsAsPNG ? SCREENSHOT_PNG : SCREENSHOT_JPG, SCREENSHOT_OUTPUT);
|
||||
bool success = TakeGameScreenshot(filename, g_Config.bScreenshotsAsPNG ? ScreenshotFormat::PNG : ScreenshotFormat::JPG, SCREENSHOT_OUTPUT);
|
||||
if (success) {
|
||||
osm.Show(filename);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user