Hide Recording Settings if current recording driver is set

to NULL
This commit is contained in:
twinaphex 2015-06-21 09:10:23 +02:00
parent 7a47760c0b
commit 0d2b37e020

View File

@ -7208,8 +7208,13 @@ rarch_setting_t *menu_setting_new(unsigned mask)
if (mask & SL_FLAG_RECORDING_OPTIONS)
{
if (!setting_append_list_recording_options(&list, list_info, root))
goto error;
settings_t *settings = config_get_ptr();
if (strcmp(settings->record.driver, "null") != 0)
{
if (!setting_append_list_recording_options(&list, list_info, root))
goto error;
}
}
if (mask & SL_FLAG_FRAME_THROTTLE_OPTIONS)