aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx/softseq/adlib.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2009-09-02 12:02:37 +0000
committerFilippos Karapetis2009-09-02 12:02:37 +0000
commit1bbab8f1915eebdb18365c64ec64eec2a8770bb6 (patch)
treee7cbeca85155034e77ce1f1bbdbf645982b63182 /engines/sci/sfx/softseq/adlib.cpp
parentb391f08b46c3f47e8631248fd70ee21ebe12b744 (diff)
downloadscummvm-rg350-1bbab8f1915eebdb18365c64ec64eec2a8770bb6.tar.gz
scummvm-rg350-1bbab8f1915eebdb18365c64ec64eec2a8770bb6.tar.bz2
scummvm-rg350-1bbab8f1915eebdb18365c64ec64eec2a8770bb6.zip
Some renaming:
getresourceManager -> getResourceManger resourceManager -> resMan segmentManager ->segMan svn-id: r43908
Diffstat (limited to 'engines/sci/sfx/softseq/adlib.cpp')
-rw-r--r--engines/sci/sfx/softseq/adlib.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/sfx/softseq/adlib.cpp b/engines/sci/sfx/softseq/adlib.cpp
index ba5d364cc5..c838fca00a 100644
--- a/engines/sci/sfx/softseq/adlib.cpp
+++ b/engines/sci/sfx/softseq/adlib.cpp
@@ -623,11 +623,11 @@ void MidiDriver_Adlib::loadResource(Resource *res) {
}
}
-int MidiPlayer_Adlib::open(ResourceManager *resourceManager) {
- assert(resourceManager != NULL);
+int MidiPlayer_Adlib::open(ResourceManager *resMan) {
+ assert(resMan != NULL);
// Load up the patch.003 file, parse out the instruments
- Resource *res = resourceManager->findResource(ResourceId(kResourceTypePatch, 3), 0);
+ Resource *res = resMan->findResource(ResourceId(kResourceTypePatch, 3), 0);
if (!res) {
warning("ADLIB: Failed to load patch.003");
@@ -641,7 +641,7 @@ int MidiPlayer_Adlib::open(ResourceManager *resourceManager) {
static_cast<MidiDriver_Adlib *>(_driver)->loadResource(res);
- return static_cast<MidiDriver_Adlib *>(_driver)->open(resourceManager->sciVersion() <= SCI_VERSION_0_LATE);
+ return static_cast<MidiDriver_Adlib *>(_driver)->open(resMan->sciVersion() <= SCI_VERSION_0_LATE);
}
} // End of namespace Sci