(RMenu/RARCH_CONSOLE) Won't start/stop audio when toggle mode is

selected
This commit is contained in:
twinaphex 2013-01-12 01:42:04 +01:00
parent 4212a93eef
commit 2bd93932e6

View File

@ -307,9 +307,14 @@ begin_loop:
{
driver.input->poll(NULL);
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());
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);
}
else if (g_extern.lifecycle_menu_state & (1 << MODE_INIT))