mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-14 06:18:34 +00:00
Stop audio if we go to Cocoa UI
This commit is contained in:
parent
45dd2c2bde
commit
3c7844faa6
@ -359,12 +359,17 @@ enum
|
||||
|
||||
- (void)toggleUI
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
if (ui_companion_is_on_foreground())
|
||||
{
|
||||
[self showGameView];
|
||||
}
|
||||
else
|
||||
{
|
||||
if (settings->menu.pause_libretro)
|
||||
ui_companion_cocoatouch_event_command(EVENT_CMD_AUDIO_STOP);
|
||||
|
||||
[self showPauseMenu:self];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user