mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-08 20:07:11 +00:00
GROOVIE: Silence bogus warning when using digital music tracks
This commit is contained in:
parent
cbc0d615bb
commit
c97f524b77
@ -728,6 +728,12 @@ bool MusicPlayerIOS::load(uint32 fileref, bool loop) {
|
|||||||
info.filename.deleteLastChar();
|
info.filename.deleteLastChar();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (info.filename == "ini_sc") {
|
||||||
|
// This is an initialization MIDI file, which is not
|
||||||
|
// needed for digital tracks
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// Create the audio stream
|
// Create the audio stream
|
||||||
Audio::SeekableAudioStream *seekStream = Audio::SeekableAudioStream::openStreamFile(info.filename);
|
Audio::SeekableAudioStream *seekStream = Audio::SeekableAudioStream::openStreamFile(info.filename);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user