mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 17:01:03 +00:00
Fix MIDI playback on non-Windows platforms
git-svn-id: https://svn.eduke32.com/eduke32@6889 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
5ee2bbc771
commit
03f2cdd9b3
5 changed files with 9 additions and 7 deletions
|
@ -501,7 +501,7 @@ PlaySong(char *song_file_name, int cdaudio_track, SWBOOL loop, SWBOOL restart)
|
|||
|
||||
if (!memcmp(SongPtr, "MThd", 4))
|
||||
{
|
||||
MUSIC_PlaySong(SongPtr, /*SongLength,*/ MUSIC_LoopSong);
|
||||
MUSIC_PlaySong(SongPtr, SongLength, MUSIC_LoopSong);
|
||||
SongType = SongTypeMIDI;
|
||||
SongName = strdup(song_file_name);
|
||||
return TRUE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue