Change: DOS music loading for non-Windows music drivers
This commit is contained in:
committed by
Michael Lutz
parent
458e441a4c
commit
a8080f14a9
@@ -1228,11 +1228,10 @@ void MusicDriver_DMusic::Stop()
|
||||
|
||||
void MusicDriver_DMusic::PlaySong(const MusicSongInfo &song)
|
||||
{
|
||||
if (song.filetype != MTT_STANDARDMIDI) return;
|
||||
|
||||
ThreadMutexLocker lock(_thread_mutex);
|
||||
|
||||
_playback.next_file.LoadFile(song.filename);
|
||||
if (!_playback.next_file.LoadSong(song)) return;
|
||||
|
||||
_playback.next_segment.start = 0;
|
||||
_playback.next_segment.end = 0;
|
||||
_playback.next_segment.loop = false;
|
||||
|
||||
Reference in New Issue
Block a user