[Scummvm-git-logs] scummvm master -> 692eea97fa79f285f29af2de3b6d924e586a4786
scemino
noreply at scummvm.org
Tue Jan 28 20:56:38 UTC 2025
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:
692eea97fa TWP: Thimbleweed Park should not close ScummVM if shaders are not supported
Commit: 692eea97fa79f285f29af2de3b6d924e586a4786
https://github.com/scummvm/scummvm/commit/692eea97fa79f285f29af2de3b6d924e586a4786
Author: scemino (scemino74 at gmail.com)
Date: 2025-01-28T21:56:25+01:00
Commit Message:
TWP: Thimbleweed Park should not close ScummVM if shaders are not supported
Changed paths:
engines/twp/twp.cpp
diff --git a/engines/twp/twp.cpp b/engines/twp/twp.cpp
index 38249a8d08d..e8c41df4fd1 100644
--- a/engines/twp/twp.cpp
+++ b/engines/twp/twp.cpp
@@ -1013,7 +1013,7 @@ Common::Error TwpEngine::run() {
AchMan.setActiveDomain(getMetaEngine()->getAchievementsInfo(gameTarget));
if (!g_system->hasFeature(OSystem::kFeatureShadersForGame)) {
- error("Thimbleweed Park requires OpenGL with shaders");
+ return Common::Error(Common::kUnknownError, "Thimbleweed Park requires OpenGL with shaders which is not supported on your system");
}
initGraphics3d(SCREEN_WIDTH, SCREEN_HEIGHT);
More information about the Scummvm-git-logs
mailing list