mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-21 01:08:25 +00:00
fix/workaround for bug: 1120625
svn-id: r16779
This commit is contained in:
parent
4a0887f34d
commit
ddd97c96da
@ -144,7 +144,14 @@ void IMuseDigital::saveOrLoad(Serializer *ser) {
|
||||
track->soundHandle = _sound->openSound(track->soundId,
|
||||
track->soundName, track->soundType,
|
||||
track->volGroupId, -1);
|
||||
assert(track->soundHandle);
|
||||
if (!track->soundHandle) {
|
||||
warning("IMuseDigital::saveOrLoad: Can't open sound so will not be resumed, propably on diffrent CD");
|
||||
track->stream2 = NULL;
|
||||
track->stream = NULL;
|
||||
track->used = false;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (track->compressed) {
|
||||
track->regionOffset = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user