diff options
| author | Colin Snover | 2017-09-24 22:27:02 -0500 |
|---|---|---|
| committer | Colin Snover | 2017-09-24 22:56:59 -0500 |
| commit | 743082ac8c9aa295db25bdcd47242913d7f6c02a (patch) | |
| tree | a1309d3472a6a8262b45fbb5ea6c750ad87b29b3 /engines/sci/engine/kmisc.cpp | |
| parent | 5bb3ca5a6b83691628502525d463a788df54a4d1 (diff) | |
| download | scummvm-rg350-743082ac8c9aa295db25bdcd47242913d7f6c02a.tar.gz scummvm-rg350-743082ac8c9aa295db25bdcd47242913d7f6c02a.tar.bz2 scummvm-rg350-743082ac8c9aa295db25bdcd47242913d7f6c02a.zip | |
SCI32: Disable all SCI32 Mac code
This code is currently untestable and is almost certainly at least
partly based on guesswork & not actual reverse-engineering (as was
the case for all other pre-2015 SCI32 code), so future developers
interested in adding SCI32 Mac support should use it only as an
intermediate reference rather than as known good code.
Diffstat (limited to 'engines/sci/engine/kmisc.cpp')
| -rw-r--r-- | engines/sci/engine/kmisc.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/engine/kmisc.cpp b/engines/sci/engine/kmisc.cpp index 62dc2b22ef..49d2d9fa08 100644 --- a/engines/sci/engine/kmisc.cpp +++ b/engines/sci/engine/kmisc.cpp @@ -529,7 +529,7 @@ reg_t kMacPlatform(EngineState *s, int argc, reg_t *argv) { // In SCI1, its usage is still unknown // In SCI1.1, it's NOP // In SCI32, it's used for remapping cursor ID's -#ifdef ENABLE_SCI32 +#ifdef ENABLE_SCI32_MAC if (getSciVersion() >= SCI_VERSION_2_1_EARLY) // Set Mac cursor remap g_sci->_gfxCursor32->setMacCursorRemapList(argc - 1, argv + 1); else @@ -643,10 +643,12 @@ reg_t kPlatform32(EngineState *s, int argc, reg_t *argv) { case Common::kPlatformWindows: return make_reg(0, kSciPlatformWindows); case Common::kPlatformMacintosh: +#ifdef ENABLE_SCI32_MAC // For Mac versions, kPlatform(0) with other args has more functionality if (argc > 1) return kMacPlatform(s, argc - 1, argv + 1); else +#endif return make_reg(0, kSciPlatformMacintosh); default: error("Unknown platform %d", g_sci->getPlatform()); |
