mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 23:10:33 +02:00
When taking a screenshot, clear all notifications except achievements.
This commit is contained in:
1 parent
9741bcacd9
commit
e46bd61e2e
3 files changed
+19
-2
No files matched your search
+4
-2
@@ -524,8 +524,10 @@ void TakeUserScreenshot() {
|
||||
type = ScreenshotType::Output;
|
||||
}
|
||||
|
||||
// Close any earlier screenshot popups, so they don't end up in the next one.
|
||||
g_OSD.CancelById("screenshot_link");
|
||||
// Close any active popups, so they don't end up in the screenshot.
|
||||
// However people often want to take screenshots of achievement things,
|
||||
// so keep those.
|
||||
g_OSD.ClearNonAchievementEntries();
|
||||
|
||||
ScheduleScreenshot(filename, g_Config.bScreenshotsAsPNG ? ScreenshotFormat::PNG : ScreenshotFormat::JPG, type, -1, [filename](ScreenshotResult result) {
|
||||
if (result == ScreenshotResult::Success) {
|
||||
|
||||
Reference in new issue
Block a user