diff options
author | Filippos Karapetis | 2010-01-28 02:15:15 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-01-28 02:15:15 +0000 |
commit | 75ae56b0d41533a5769d26187f1d9220a3febd51 (patch) | |
tree | 7ac7dc62e95d497cd1d2d6da9ca01d51e5cd0f7e /engines/sci/engine | |
parent | da7d221d4028e1b8c652c77d00eeb74a9576226d (diff) | |
download | scummvm-rg350-75ae56b0d41533a5769d26187f1d9220a3febd51.tar.gz scummvm-rg350-75ae56b0d41533a5769d26187f1d9220a3febd51.tar.bz2 scummvm-rg350-75ae56b0d41533a5769d26187f1d9220a3febd51.zip |
Improved kSetCursor() semantics detection
svn-id: r47624
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/state.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/sci/engine/state.cpp b/engines/sci/engine/state.cpp index 2d21da10b5..d9e4dcb0e0 100644 --- a/engines/sci/engine/state.cpp +++ b/engines/sci/engine/state.cpp @@ -492,10 +492,13 @@ SciVersion EngineState::detectSetCursorType() { if (getSciVersion() <= SCI_VERSION_01) { // SCI0/SCI01 games never use cursor views _setCursorType = SCI_VERSION_0_EARLY; + } else if (getSciVersion() >= SCI_VERSION_1_EARLY && getSciVersion() <= SCI_VERSION_1_MIDDLE) { + // SCI1 early/SCI1 middle games never use cursor views + _setCursorType = SCI_VERSION_0_EARLY; } else if (getSciVersion() >= SCI_VERSION_1_1) { // SCI1.1 games always use cursor views _setCursorType = SCI_VERSION_1_1; - } else { + } else { // SCI1 late game, detect cursor semantics bool found = false; if (_kernel->_selectorCache.setCursor == -1) { |