mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 01:38:36 +00:00
SLUDGE: Loop MOD playback
This commit is contained in:
parent
2b29bcd1af
commit
cfaa0fd4be
@ -224,7 +224,7 @@ bool SoundManager::playMOD(int f, int a, int fromTrack) {
|
||||
if (memImage->size() != (int)length || readStream->err()) {
|
||||
return fatal("Sound reading failed");
|
||||
}
|
||||
Audio::AudioStream *stream = Audio::makeModXmS3mStream(memImage, DisposeAfterUse::NO);
|
||||
Audio::LoopingAudioStream *stream = new Audio::LoopingAudioStream(Audio::makeModXmS3mStream(memImage, DisposeAfterUse::NO), 0, DisposeAfterUse::YES);
|
||||
|
||||
if (stream) {
|
||||
// play sound
|
||||
|
Loading…
x
Reference in New Issue
Block a user