Merge branch 'public-musicplus-core' into public-musicplus-libopenmpt

This commit is contained in:
mazmazz 2018-09-18 12:59:53 -04:00
commit 38afb85b47

View file

@ -1422,6 +1422,8 @@ boolean I_PlaySong(boolean looping)
void I_StopSong(void)
{
I_StopFadingSong();
#ifdef HAVE_LIBGME
if (gme)
{
@ -1438,12 +1440,12 @@ void I_StopSong(void)
#endif
if (music)
{
var_cleanup();
I_StopFadingSong();
Mix_UnregisterEffect(MIX_CHANNEL_POST, count_music_bytes);
Mix_HookMusicFinished(NULL);
Mix_HaltMusic();
}
var_cleanup();
}
void I_PauseSong()