diff options
author | Willem Jan Palenstijn | 2010-11-19 14:19:02 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2010-11-19 14:19:02 +0000 |
commit | a24d5ba2f402d76bdc38e2e051f5e22389671207 (patch) | |
tree | 89fb8971c072da754f8db6ad2c3acb7469f67165 /engines | |
parent | ec9ad50c145be10985666b08ee2dbf0f9129c551 (diff) | |
download | scummvm-rg350-a24d5ba2f402d76bdc38e2e051f5e22389671207.tar.gz scummvm-rg350-a24d5ba2f402d76bdc38e2e051f5e22389671207.tar.bz2 scummvm-rg350-a24d5ba2f402d76bdc38e2e051f5e22389671207.zip |
SCI: Only compile kGetConfig for SCI32
svn-id: r54382
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/engine/kmisc.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/engine/kmisc.cpp b/engines/sci/engine/kmisc.cpp index bda708001f..75582f3449 100644 --- a/engines/sci/engine/kmisc.cpp +++ b/engines/sci/engine/kmisc.cpp @@ -329,17 +329,17 @@ reg_t kIconBar(EngineState *s, int argc, reg_t *argv) { return NULL_REG; } +#ifdef ENABLE_SCI32 reg_t kGetConfig(EngineState *s, int argc, reg_t *argv) { Common::String setting = s->_segMan->getString(argv[0]); - reg_t data; -#ifdef ENABLE_SCI32 - data = readSelector(s->_segMan, argv[1], SELECTOR(data)); -#endif + reg_t data = readSelector(s->_segMan, argv[1], SELECTOR(data)); warning("Get config setting %s", setting.c_str()); s->_segMan->strcpy(data, ""); return argv[1]; } +#endif + enum kSciPlatforms { kSciPlatformDOS = 1, kSciPlatformWindows = 2 |