aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx
diff options
context:
space:
mode:
authorFilippos Karapetis2009-09-23 10:55:35 +0000
committerFilippos Karapetis2009-09-23 10:55:35 +0000
commit13ad217cdd6bf1dcb74fe9cb4f40622b58c8792a (patch)
treef0e1021c9235d3ad9c03a4a02688f9ba9111bc99 /engines/sci/sfx
parent63208a20fdc466bb6ec88dc09c7f2901ef144794 (diff)
downloadscummvm-rg350-13ad217cdd6bf1dcb74fe9cb4f40622b58c8792a.tar.gz
scummvm-rg350-13ad217cdd6bf1dcb74fe9cb4f40622b58c8792a.tar.bz2
scummvm-rg350-13ad217cdd6bf1dcb74fe9cb4f40622b58c8792a.zip
- Moved the SCI version in a global variable
- Changed all the SCI version checks to use getSciVersion() - Also made getSciVersionDesc a global function (removes some ugly accessing of the SCI engine) The fallback detector should work correctly now svn-id: r44269
Diffstat (limited to 'engines/sci/sfx')
-rw-r--r--engines/sci/sfx/softseq/adlib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sfx/softseq/adlib.cpp b/engines/sci/sfx/softseq/adlib.cpp
index c838fca00a..d2a5cb9001 100644
--- a/engines/sci/sfx/softseq/adlib.cpp
+++ b/engines/sci/sfx/softseq/adlib.cpp
@@ -641,7 +641,7 @@ int MidiPlayer_Adlib::open(ResourceManager *resMan) {
static_cast<MidiDriver_Adlib *>(_driver)->loadResource(res);
- return static_cast<MidiDriver_Adlib *>(_driver)->open(resMan->sciVersion() <= SCI_VERSION_0_LATE);
+ return static_cast<MidiDriver_Adlib *>(_driver)->open(getSciVersion() <= SCI_VERSION_0_LATE);
}
} // End of namespace Sci