(Menu/Settings) Fix some masks

This commit is contained in:
twinaphex 2015-06-02 14:29:14 +02:00
parent 43344a9b7f
commit f372e4a13b
2 changed files with 3 additions and 2 deletions

View File

@ -6551,13 +6551,13 @@ rarch_setting_t *setting_new(unsigned mask)
goto error;
}
if (mask & SL_FLAG_GENERAL_OPTIONS)
if (mask & SL_FLAG_VIDEO_OPTIONS)
{
if (!setting_append_list_video_options(&list, list_info))
goto error;
}
if (mask & SL_FLAG_GENERAL_OPTIONS)
if (mask & SL_FLAG_RECORDING_OPTIONS)
{
if (!setting_append_list_recording_options(&list, list_info))
goto error;

View File

@ -86,6 +86,7 @@ enum setting_list_flags
SL_FLAG_PLAYLIST_OPTIONS = (1 << 19),
SL_FLAG_ARCHIVE_OPTIONS = (1 << 20),
SL_FLAG_PATCH_OPTIONS = (1 << 21),
SL_FLAG_RECORDING_OPTIONS = (1 << 21),
SL_FLAG_ALL = (1 << 22),
};