[Scummvm-git-logs] scummvm master -> 4ed344b111a7243679af262b87433a155f16e5f9
criezy
criezy at scummvm.org
Fri Dec 4 23:04:27 UTC 2020
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:
4ed344b111 SCI: Fix compilation following recent AdvancedMetaEngine changes
Commit: 4ed344b111a7243679af262b87433a155f16e5f9
https://github.com/scummvm/scummvm/commit/4ed344b111a7243679af262b87433a155f16e5f9
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2020-12-04T23:04:18Z
Commit Message:
SCI: Fix compilation following recent AdvancedMetaEngine changes
Changed paths:
engines/sci/metaengine.cpp
diff --git a/engines/sci/metaengine.cpp b/engines/sci/metaengine.cpp
index a9985414b7..ffc4461cf4 100644
--- a/engines/sci/metaengine.cpp
+++ b/engines/sci/metaengine.cpp
@@ -322,8 +322,7 @@ Common::Error SciMetaEngine::createInstance(OSystem *syst, Engine **engine, cons
if (0 == strcmp(desc->gameId, g->gameidStr)) {
#ifndef ENABLE_SCI32
if (g->isSci32) {
- Engine::errorUnsupportedGame(_("SCI32 support not compiled in"));
- return false;
+ return Common::Error(Common::kUnsupportedGameidError, _s("SCI32 support not compiled in"));
}
#endif
More information about the Scummvm-git-logs
mailing list