Fix AUDIO_SYNC RGUI option toggling.

This commit is contained in:
Themaister 2014-06-13 12:27:54 +02:00
parent d7d1d9ff10
commit a0938f3f86

View File

@ -3629,7 +3629,7 @@ static int menu_common_setting_set(unsigned setting, unsigned action)
g_settings.audio.latency++;
break;
case MENU_SETTINGS_AUDIO_SYNC:
if (action == MENU_ACTION_OK)
if (action == MENU_ACTION_OK || action == MENU_ACTION_LEFT || action == MENU_ACTION_RIGHT)
g_settings.audio.sync = !g_settings.audio.sync;
else if (action == MENU_ACTION_START)
g_settings.audio.sync = audio_sync;