diff options
author | Filippos Karapetis | 2007-07-12 08:52:07 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-07-12 08:52:07 +0000 |
commit | 17a4539a65c5813862b85691cca094ba616e027c (patch) | |
tree | 511c97d2d5bd1b45e17cefba9c9e2e57ae99f431 /engines/saga/music.cpp | |
parent | 4ff76adab5ee72999780187e65dede4b02a553d7 (diff) | |
download | scummvm-rg350-17a4539a65c5813862b85691cca094ba616e027c.tar.gz scummvm-rg350-17a4539a65c5813862b85691cca094ba616e027c.tar.bz2 scummvm-rg350-17a4539a65c5813862b85691cca094ba616e027c.zip |
Renamed a variable, so that it makes more sense
svn-id: r28042
Diffstat (limited to 'engines/saga/music.cpp')
-rw-r--r-- | engines/saga/music.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/saga/music.cpp b/engines/saga/music.cpp index 71b6964530..0ba5482aae 100644 --- a/engines/saga/music.cpp +++ b/engines/saga/music.cpp @@ -282,7 +282,7 @@ Music::Music(SagaEngine *vm, Audio::Mixer *mixer, MidiDriver *driver, int enable xmidiParser = MidiParser::createParser_XMIDI(); smfParser = MidiParser::createParser_SMF(); - _musicContext = _vm->_resource->getContext(GAME_MUSICFILE); + _digitalMusicContext = _vm->_resource->getContext(GAME_MUSICFILE); _songTableLen = 0; _songTable = 0; @@ -405,7 +405,7 @@ void Music::play(uint32 resourceId, MusicFlags flags) { if (_vm->getGameType() == GType_ITE) { if (resourceId >= 9 && resourceId <= 34) { - if (_musicContext != NULL) { + if (_digitalMusicContext != NULL) { //TODO: check resource size loopStart = 0; // fix ITE sunstatm score @@ -415,7 +415,7 @@ void Music::play(uint32 resourceId, MusicFlags flags) { if (!(_vm->getFeatures() & GF_COMPRESSED_SOUNDS)) { // uncompressed digital music - audioStream = new RAWInputStream(_vm, _musicContext, resourceId - 9, flags == MUSIC_LOOP, loopStart); + audioStream = new RAWInputStream(_vm, _digitalMusicContext, resourceId - 9, flags == MUSIC_LOOP, loopStart); } else { // compressed digital music ResourceData * musicResourceData; @@ -423,8 +423,8 @@ void Music::play(uint32 resourceId, MusicFlags flags) { byte compressedHeader[10]; GameSoundTypes soundType; - musicResourceData = _vm->_resource->getResourceData(_musicContext, resourceId - 9); - _file = _musicContext->getFile(musicResourceData); + musicResourceData = _vm->_resource->getResourceData(_digitalMusicContext, resourceId - 9); + _file = _digitalMusicContext->getFile(musicResourceData); if (_vm->getMusicInfo() == NULL) { error("RAWInputStream() wrong musicInfo"); |