mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-24 18:21:17 +00:00
Fix pausing on gme
This commit is contained in:
parent
8e5ac64d7c
commit
77362c45cc
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…
Reference in a new issue