mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 10:51:42 +00:00
Fix pausing on gme
This commit is contained in:
parent
f677746603
commit
61d8033d5e
1 changed files with 12 additions and 0 deletions
|
|
@ -475,12 +475,24 @@ void I_ShutdownMusic(void)
|
||||||
void I_PauseSong(INT32 handle)
|
void I_PauseSong(INT32 handle)
|
||||||
{
|
{
|
||||||
(void)handle;
|
(void)handle;
|
||||||
|
#ifdef HAVE_LIBGME
|
||||||
|
if (gme)
|
||||||
|
{
|
||||||
|
Mix_HookMusic(NULL, NULL);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
Mix_PauseMusic();
|
Mix_PauseMusic();
|
||||||
}
|
}
|
||||||
|
|
||||||
void I_ResumeSong(INT32 handle)
|
void I_ResumeSong(INT32 handle)
|
||||||
{
|
{
|
||||||
(void)handle;
|
(void)handle;
|
||||||
|
#ifdef HAVE_LIBGME
|
||||||
|
if (gme)
|
||||||
|
{
|
||||||
|
Mix_HookMusic(mix_gme, gme);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
Mix_ResumeMusic();
|
Mix_ResumeMusic();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue