I_SongPlaying detect GME properly

(cherry picked from commit e88d147761)
This commit is contained in:
mazmazz 2018-08-24 18:00:18 -04:00
parent d94f7e3cb0
commit 8541963c61
1 changed files with 6 additions and 1 deletions

View File

@ -524,7 +524,12 @@ musictype_t I_SongType(void)
boolean I_SongPlaying(void)
{
return (boolean)music;
return (
#ifdef HAVE_LIBGME
(I_SongType() == MU_GME && gme) ||
#endif
(boolean)music
);
}
boolean I_SongPaused(void)