mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-14 06:18:34 +00:00
Create MENU_VALUE_UNKNOWN
This commit is contained in:
parent
62ea9a9ef6
commit
5c7b0eaedf
@ -339,6 +339,8 @@ static const char *menu_hash_to_str_english(uint32_t hash)
|
||||
{
|
||||
switch (hash)
|
||||
{
|
||||
case MENU_VALUE_UNKNOWN:
|
||||
return "Unknown";
|
||||
case MENU_VALUE_DIRECTORY_DEFAULT:
|
||||
return "<Default>";
|
||||
case MENU_VALUE_DIRECTORY_NONE:
|
||||
|
@ -20,6 +20,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define MENU_VALUE_UNKNOWN 0x9b3bb635U
|
||||
#define MENU_VALUE_DIRECTORY_NONE 0x9996c10fU
|
||||
#define MENU_VALUE_DIRECTORY_DEFAULT 0xdcc3a2e4U
|
||||
#define MENU_VALUE_NOT_AVAILABLE 0x0b880503U
|
||||
|
@ -1505,7 +1505,7 @@ static void setting_get_string_representation_uint_libretro_device(void *data,
|
||||
name = "RetroPad w/ Analog";
|
||||
break;
|
||||
default:
|
||||
name = "Unknown";
|
||||
name = menu_hash_to_str(MENU_VALUE_UNKNOWN);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -1516,7 +1516,7 @@ static void setting_get_string_representation_uint_libretro_device(void *data,
|
||||
static void setting_get_string_representation_uint_archive_mode(void *data,
|
||||
char *s, size_t len)
|
||||
{
|
||||
const char *name = "Unknown";
|
||||
const char *name = menu_hash_to_str(MENU_VALUE_UNKNOWN);
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
(void)data;
|
||||
|
Loading…
Reference in New Issue
Block a user