mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
We're not going to use 'cheat database' from bsnes XML cheats,
but for our more general-purpose cheats in cores
This commit is contained in:
parent
3a81c23d01
commit
6c338352d2
@ -471,6 +471,7 @@ unsigned menu_common_type_is(const char *label, unsigned type)
|
||||
!strcmp(label, "rgui_browser_directory") ||
|
||||
!strcmp(label, "content_directory") ||
|
||||
!strcmp(label, "assets_directory") ||
|
||||
!strcmp(label, "cheat_database_path") ||
|
||||
!strcmp(label, "video_shader_dir") ||
|
||||
!strcmp(label, "video_filter_dir") ||
|
||||
!strcmp(label, "audio_filter_dir") ||
|
||||
|
@ -1117,8 +1117,10 @@ static void init_cheats(void)
|
||||
if (!allow_cheats)
|
||||
return;
|
||||
|
||||
#if 0
|
||||
if (*g_settings.cheat_database)
|
||||
g_extern.cheat = cheat_manager_new_from_xml(g_settings.cheat_database);
|
||||
#endif
|
||||
}
|
||||
|
||||
static void init_rewind(void)
|
||||
|
@ -5119,16 +5119,20 @@ static bool setting_data_append_list_path_options(
|
||||
general_read_handler);
|
||||
settings_data_list_current_add_flags(list, list_info, SD_FLAG_ALLOW_EMPTY);
|
||||
|
||||
CONFIG_PATH(
|
||||
CONFIG_DIR(
|
||||
g_settings.cheat_database,
|
||||
"cheat_database_path",
|
||||
"Cheat Database Directory",
|
||||
"",
|
||||
"Paths",
|
||||
"<None>",
|
||||
group_info.name,
|
||||
subgroup_info.name,
|
||||
general_write_handler,
|
||||
general_read_handler);
|
||||
settings_data_list_current_add_flags(list, list_info, SD_FLAG_ALLOW_EMPTY);
|
||||
settings_data_list_current_add_flags(
|
||||
list,
|
||||
list_info,
|
||||
SD_FLAG_ALLOW_EMPTY | SD_FLAG_PATH_DIR);
|
||||
|
||||
CONFIG_PATH(
|
||||
g_settings.content_history_path,
|
||||
|
Loading…
Reference in New Issue
Block a user