diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/engine/kmisc.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/engine/kmisc.cpp b/engines/sci/engine/kmisc.cpp index af3b7bbd00..62dc2b22ef 100644 --- a/engines/sci/engine/kmisc.cpp +++ b/engines/sci/engine/kmisc.cpp @@ -435,6 +435,10 @@ reg_t kGetConfig(EngineState *s, int argc, reg_t *argv) { // Likely modelled after the Windows 3.1 function GetPrivateProfileInt: // http://msdn.microsoft.com/en-us/library/windows/desktop/ms724345%28v=vs.85%29.aspx reg_t kGetSierraProfileInt(EngineState *s, int argc, reg_t *argv) { + if (g_sci->getPlatform() != Common::kPlatformWindows) { + return s->r_acc; + } + Common::String category = s->_segMan->getString(argv[0]); // always "config" category.toLowercase(); Common::String setting = s->_segMan->getString(argv[1]); |