mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 16:35:20 +00:00
stub for digital imuse save/load
svn-id: r13734
This commit is contained in:
parent
805b1f8e0d
commit
cdc7324951
@ -76,6 +76,9 @@ void IMuseDigital::resetState() {
|
||||
_nextSeqToPlay = 0;
|
||||
}
|
||||
|
||||
void IMuseDigital::saveOrLoad(Serializer *ser) {
|
||||
}
|
||||
|
||||
void IMuseDigital::callback() {
|
||||
Common::StackLock lock(_mutex, "IMuseDigital::callback()");
|
||||
int l = 0;
|
||||
|
@ -132,6 +132,7 @@ public:
|
||||
void startSound(int soundId)
|
||||
{ error("MusicEngine::startSound() Should be never called"); }
|
||||
|
||||
void saveOrLoad(Serializer *ser);
|
||||
void resetState();
|
||||
|
||||
void setGroupVoiceVolume(int volume) { _volVoice = volume; }
|
||||
|
@ -141,7 +141,6 @@ bool ScummEngine::loadState(int slot, bool compat, SaveFileManager *mgr) {
|
||||
|
||||
if (_imuseDigital) {
|
||||
_imuseDigital->stopAllSounds();
|
||||
// temporary hack for initial state for imuse music
|
||||
_imuseDigital->resetState();
|
||||
}
|
||||
|
||||
@ -789,6 +788,10 @@ void ScummEngine::saveOrLoad(Serializer *s, uint32 savegameVersion) {
|
||||
_imuse->setMasterVolume(ConfMan.getInt("master_volume"));
|
||||
_imuse->set_music_volume(ConfMan.getInt("music_volume"));
|
||||
}
|
||||
|
||||
if (_imuseDigital) {
|
||||
_imuseDigital->saveOrLoad(s);
|
||||
}
|
||||
}
|
||||
|
||||
void ScummEngine::saveLoadResource(Serializer *ser, int type, int idx) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user