I_SongPlaying detect GME properly

(cherry picked from commit e88d1477616ca66472ecb50d371e37dc79c77c0f)
This commit is contained in:
mazmazz committed 2018-09-14 10:49:44 -04:00
1 parent d94f7e3cb0
commit 8541963c61
1 file changed
+6 -1
+6 -1
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)