[Scummvm-git-logs] scummvm master -> fad630323af70598d8a7c9dd56c5b320cb851ab5
sev-
noreply at scummvm.org
Sat Jul 15 09:24:11 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
fad630323a SDL: Added config key disable_saved_screenshot_osd for disabling the OSD message
Commit: fad630323af70598d8a7c9dd56c5b320cb851ab5
https://github.com/scummvm/scummvm/commit/fad630323af70598d8a7c9dd56c5b320cb851ab5
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-07-15T11:23:29+02:00
Commit Message:
SDL: Added config key disable_saved_screenshot_osd for disabling the OSD message
Changed paths:
backends/graphics/sdl/sdl-graphics.cpp
diff --git a/backends/graphics/sdl/sdl-graphics.cpp b/backends/graphics/sdl/sdl-graphics.cpp
index 19f903fb06a..e007defccef 100644
--- a/backends/graphics/sdl/sdl-graphics.cpp
+++ b/backends/graphics/sdl/sdl-graphics.cpp
@@ -359,7 +359,8 @@ void SdlGraphicsManager::saveScreenshot() {
debug("Saved screenshot '%s' in directory '%s'", filename.c_str(), screenshotsPath.c_str());
#ifdef USE_OSD
- displayMessageOnOSD(Common::U32String::format(_("Saved screenshot '%s'"), filename.c_str()));
+ if (!ConfMan.getBool("disable_saved_screenshot_osd"))
+ displayMessageOnOSD(Common::U32String::format(_("Saved screenshot '%s'"), filename.c_str()));
#endif
} else {
if (screenshotsPath.empty())
More information about the Scummvm-git-logs
mailing list