mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
(CDROM) Add Load Disc/Dump Disc
This commit is contained in:
parent
22d82f9e6d
commit
4fdf33e5f8
@ -1016,6 +1016,10 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_HISTORY,
|
||||
"Load Recent")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_LIST,
|
||||
"تحميل المحتوى")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_DISC,
|
||||
"Load Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_DUMP_DISC,
|
||||
"Dump Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_STATE,
|
||||
"Load State")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOCATION_ALLOW,
|
||||
|
@ -1010,6 +1010,10 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_HISTORY,
|
||||
"加载最近的游戏内容")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_LIST,
|
||||
"载入游戏内容")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_DISC,
|
||||
"Load Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_DUMP_DISC,
|
||||
"Dump Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_STATE,
|
||||
"即时读档")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOCATION_ALLOW,
|
||||
|
@ -950,6 +950,10 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_HISTORY,
|
||||
"戴入最近的遊戲內容")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_LIST,
|
||||
"載入遊戲內容")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_DISC,
|
||||
"Load Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_DUMP_DISC,
|
||||
"Dump Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_STATE,
|
||||
"戴入狀態")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOCATION_ALLOW,
|
||||
|
@ -987,6 +987,10 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_HISTORY,
|
||||
"Inhalt aus Verlauf laden")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_LIST,
|
||||
"Inhalt laden")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_DISC,
|
||||
"Load Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_DUMP_DISC,
|
||||
"Dump Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_STATE,
|
||||
"Spielstand laden")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOCATION_ALLOW,
|
||||
|
@ -1526,6 +1526,10 @@ MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_LIST,
|
||||
"Φόρτωση Περιεχομένου"
|
||||
)
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_DISC,
|
||||
"Load Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_DUMP_DISC,
|
||||
"Dump Disc")
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LOAD_STATE,
|
||||
"Φόρτωση Κατάστασης"
|
||||
|
@ -871,6 +871,10 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_HISTORY,
|
||||
"Load Recent")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_LIST,
|
||||
"Load Content")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_DISC,
|
||||
"Load Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_DUMP_DISC,
|
||||
"Dump Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_STATE,
|
||||
"Load State")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOCATION_ALLOW,
|
||||
|
@ -1580,6 +1580,10 @@ MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_LIST,
|
||||
"Cargar Contenido"
|
||||
)
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_DISC,
|
||||
"Load Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_DUMP_DISC,
|
||||
"Dump Disc")
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LOAD_STATE,
|
||||
"Cargar rápida"
|
||||
|
@ -1617,6 +1617,10 @@ MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_LIST,
|
||||
"Charger du contenu"
|
||||
)
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_DISC,
|
||||
"Load Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_DUMP_DISC,
|
||||
"Dump Disc")
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LOAD_STATE,
|
||||
"Charger une sauvegarde instantanée"
|
||||
|
@ -989,6 +989,10 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_HISTORY,
|
||||
"Carica Recenti")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_LIST,
|
||||
"Carica Contenuto")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_DISC,
|
||||
"Load Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_DUMP_DISC,
|
||||
"Dump Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_STATE,
|
||||
"Carica Stato")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOCATION_ALLOW,
|
||||
|
@ -1628,6 +1628,10 @@ MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_LIST,
|
||||
"コンテンツをロード"
|
||||
)
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_DISC,
|
||||
"Load Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_DUMP_DISC,
|
||||
"Dump Disc")
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LOAD_STATE,
|
||||
"ステートロード"
|
||||
|
@ -1620,6 +1620,10 @@ MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_LIST,
|
||||
"컨텐츠 불러오기"
|
||||
)
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_DISC,
|
||||
"Load Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_DUMP_DISC,
|
||||
"Dump Disc")
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LOAD_STATE,
|
||||
"상태저장 불러오기"
|
||||
|
@ -870,6 +870,10 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_HISTORY,
|
||||
"Recentelijk gebruikt")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_LIST,
|
||||
"Laad Inhoud")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_DISC,
|
||||
"Laad Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_DUMP_DISC,
|
||||
"Dump Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_STATE,
|
||||
"Laad State")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOCATION_ALLOW,
|
||||
|
@ -1021,6 +1021,10 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_HISTORY,
|
||||
"Załaduj ostatnie")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_LIST,
|
||||
"Załaduj zawartość")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_DISC,
|
||||
"Load Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_DUMP_DISC,
|
||||
"Dump Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_STATE,
|
||||
"Wczytaj zapis")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOCATION_ALLOW,
|
||||
|
@ -1616,6 +1616,10 @@ MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_LIST,
|
||||
"Carregar Conteúdo"
|
||||
)
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_DISC,
|
||||
"Load Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_DUMP_DISC,
|
||||
"Dump Disc")
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LOAD_STATE,
|
||||
"Carregar Estado de Jogo"
|
||||
|
@ -935,6 +935,10 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_HISTORY,
|
||||
"Carregar conteúdo recente")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_LIST,
|
||||
"Carregar conteúdo")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_DISC,
|
||||
"Load Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_DUMP_DISC,
|
||||
"Dump Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_STATE,
|
||||
"Carregar estado")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOCATION_ALLOW,
|
||||
|
@ -953,6 +953,10 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_HISTORY,
|
||||
"Загрузить последние")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_LIST,
|
||||
"Загрузить контент")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_DISC,
|
||||
"Load Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_DUMP_DISC,
|
||||
"Dump Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_STATE,
|
||||
"Загрузить состояние")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOCATION_ALLOW,
|
||||
|
@ -1612,6 +1612,10 @@ MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_LIST,
|
||||
"İçerik yükle"
|
||||
)
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_DISC,
|
||||
"Load Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_DUMP_DISC,
|
||||
"Dump Disc")
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LOAD_STATE,
|
||||
"Kayıtlı Konumu Yükle"
|
||||
|
@ -1612,6 +1612,10 @@ MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_LIST,
|
||||
"Load Content"
|
||||
)
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_DISC,
|
||||
"Load Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_DUMP_DISC,
|
||||
"Dump Disc")
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LOAD_STATE,
|
||||
"Load State"
|
||||
|
@ -956,6 +956,10 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_HISTORY,
|
||||
"Tải Recent")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_CONTENT_LIST,
|
||||
"Tải Content")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_DISC,
|
||||
"Load Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_DUMP_DISC,
|
||||
"Dump Disc")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOAD_STATE,
|
||||
"Tải State")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_LOCATION_ALLOW,
|
||||
|
@ -4802,6 +4802,20 @@ static int action_ok_push_downloads_dir(const char *path,
|
||||
entry_idx, ACTION_OK_DL_CONTENT_LIST);
|
||||
}
|
||||
|
||||
static int action_ok_push_load_disc(const char *path,
|
||||
const char *label, unsigned type, size_t idx, size_t entry_idx)
|
||||
{
|
||||
/* TODO/FIXME - fill in - call a task here */
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int action_ok_push_dump_disc(const char *path,
|
||||
const char *label, unsigned type, size_t idx, size_t entry_idx)
|
||||
{
|
||||
/* TODO/FIXME - fill in - call a task here */
|
||||
return 0;
|
||||
}
|
||||
|
||||
int action_ok_push_filebrowser_list_dir_select(const char *path,
|
||||
const char *label, unsigned type, size_t idx, size_t entry_idx)
|
||||
{
|
||||
@ -5905,6 +5919,12 @@ static int menu_cbs_init_bind_ok_compare_label(menu_file_list_cbs_t *cbs,
|
||||
case MENU_ENUM_LABEL_ACCOUNTS_TWITCH:
|
||||
BIND_ACTION_OK(cbs, action_ok_push_accounts_twitch_list);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_LOAD_DISC:
|
||||
BIND_ACTION_OK(cbs, action_ok_push_load_disc);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_DUMP_DISC:
|
||||
BIND_ACTION_OK(cbs, action_ok_push_dump_disc);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_SHADER_OPTIONS:
|
||||
case MENU_ENUM_LABEL_CORE_OPTIONS:
|
||||
case MENU_ENUM_LABEL_CORE_CHEAT_OPTIONS:
|
||||
|
@ -2111,6 +2111,12 @@ static int materialui_list_push(void *data, void *userdata,
|
||||
menu_displaylist_setting(&entry);
|
||||
}
|
||||
|
||||
entry.enum_idx = MENU_ENUM_LABEL_LOAD_DISC;
|
||||
menu_displaylist_setting(&entry);
|
||||
|
||||
entry.enum_idx = MENU_ENUM_LABEL_DUMP_DISC;
|
||||
menu_displaylist_setting(&entry);
|
||||
|
||||
#if defined(HAVE_NETWORKING)
|
||||
#ifdef HAVE_LAKKA
|
||||
entry.enum_idx = MENU_ENUM_LABEL_UPDATE_LAKKA;
|
||||
|
@ -5689,6 +5689,12 @@ static int xmb_list_push(void *data, void *userdata,
|
||||
menu_subsystem_populate(subsystem, info);
|
||||
}
|
||||
|
||||
entry.enum_idx = MENU_ENUM_LABEL_LOAD_DISC;
|
||||
menu_displaylist_setting(&entry);
|
||||
|
||||
entry.enum_idx = MENU_ENUM_LABEL_DUMP_DISC;
|
||||
menu_displaylist_setting(&entry);
|
||||
|
||||
entry.enum_idx = MENU_ENUM_LABEL_ADD_CONTENT_LIST;
|
||||
menu_displaylist_setting(&entry);
|
||||
#ifdef HAVE_QT
|
||||
|
@ -7299,6 +7299,16 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
|
||||
PARSE_ACTION, false) == 0)
|
||||
count++;
|
||||
|
||||
if (menu_displaylist_parse_settings_enum(info->list,
|
||||
MENU_ENUM_LABEL_LOAD_DISC,
|
||||
PARSE_ACTION, false) == 0)
|
||||
count++;
|
||||
|
||||
if (menu_displaylist_parse_settings_enum(info->list,
|
||||
MENU_ENUM_LABEL_DUMP_DISC,
|
||||
PARSE_ACTION, false) == 0)
|
||||
count++;
|
||||
|
||||
if (string_is_equal(settings->arrays.menu_driver, "rgui") &&
|
||||
#ifndef HAVE_LIBRETRODB
|
||||
settings->bools.menu_show_advanced_settings &&
|
||||
|
@ -6649,6 +6649,26 @@ static bool setting_append_list(
|
||||
parent_group);
|
||||
}
|
||||
|
||||
#ifdef HAVE_CDROM
|
||||
/* TODO/FIXME - add check seeing if CDROM is inserted into tray
|
||||
*/
|
||||
CONFIG_ACTION(
|
||||
list, list_info,
|
||||
MENU_ENUM_LABEL_LOAD_DISC,
|
||||
MENU_ENUM_LABEL_VALUE_LOAD_DISC,
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group);
|
||||
|
||||
CONFIG_ACTION(
|
||||
list, list_info,
|
||||
MENU_ENUM_LABEL_DUMP_DISC,
|
||||
MENU_ENUM_LABEL_VALUE_DUMP_DISC,
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group);
|
||||
#endif
|
||||
|
||||
if (string_is_not_equal(settings->arrays.menu_driver, "xmb") && string_is_not_equal(settings->arrays.menu_driver, "ozone"))
|
||||
{
|
||||
CONFIG_ACTION(
|
||||
|
@ -1721,6 +1721,8 @@ enum msg_hash_enums
|
||||
MENU_LABEL(FRONTEND_COUNTERS),
|
||||
MENU_LABEL(CORE_COUNTERS),
|
||||
MENU_LABEL(LOAD_CONTENT_HISTORY),
|
||||
MENU_LABEL(LOAD_DISC),
|
||||
MENU_LABEL(DUMP_DISC),
|
||||
MENU_LABEL(NETWORK_INFORMATION),
|
||||
MENU_LABEL(SYSTEM_INFORMATION),
|
||||
MENU_LABEL(ACHIEVEMENT_LIST),
|
||||
|
Loading…
Reference in New Issue
Block a user