mirror of
https://github.com/libretro/RetroArch
synced 2025-01-27 03:35:22 +00:00
(RMenu/RARCH_CONSOLE) Won't start/stop audio when toggle mode is
selected
This commit is contained in:
parent
4212a93eef
commit
2bd93932e6
@ -307,9 +307,14 @@ begin_loop:
|
|||||||
{
|
{
|
||||||
driver.input->poll(NULL);
|
driver.input->poll(NULL);
|
||||||
driver.video->set_aspect_ratio(driver.video_data, g_settings.video.aspect_ratio_idx);
|
driver.video->set_aspect_ratio(driver.video_data, g_settings.video.aspect_ratio_idx);
|
||||||
audio_start_func();
|
|
||||||
|
if (g_extern.lifecycle_menu_state & (1 << MODE_VIDEO_THROTTLE_ENABLE))
|
||||||
|
audio_start_func();
|
||||||
|
|
||||||
while(rarch_main_iterate());
|
while(rarch_main_iterate());
|
||||||
audio_stop_func();
|
|
||||||
|
if (g_extern.lifecycle_menu_state & (1 << MODE_VIDEO_THROTTLE_ENABLE))
|
||||||
|
audio_stop_func();
|
||||||
g_extern.lifecycle_menu_state &= ~(1 << MODE_EMULATION);
|
g_extern.lifecycle_menu_state &= ~(1 << MODE_EMULATION);
|
||||||
}
|
}
|
||||||
else if (g_extern.lifecycle_menu_state & (1 << MODE_INIT))
|
else if (g_extern.lifecycle_menu_state & (1 << MODE_INIT))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user