mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +00:00
MIDI/Windows: Immediately MPU_Init after MPU_Reset so that MIDI_Reset can take effect.
git-svn-id: https://svn.eduke32.com/eduke32@6783 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
eee1fd6e2c
commit
a3586ffc20
1 changed files with 3 additions and 1 deletions
|
@ -610,6 +610,9 @@ void MIDI_StopSong(void)
|
|||
_MIDI_SongActive = FALSE;
|
||||
_MIDI_SongLoaded = FALSE;
|
||||
|
||||
MPU_Reset();
|
||||
MPU_Init(MUSIC_SoundDevice);
|
||||
|
||||
MIDI_Reset();
|
||||
_MIDI_ResetTracks();
|
||||
|
||||
|
@ -623,7 +626,6 @@ void MIDI_StopSong(void)
|
|||
_MIDI_TotalBeats = 0;
|
||||
_MIDI_TotalMeasures = 0;
|
||||
|
||||
MPU_Reset();
|
||||
}
|
||||
|
||||
int32_t MIDI_PlaySong(char *song, int32_t loopflag)
|
||||
|
|
Loading…
Reference in a new issue