mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
(Menu/intl) Add MENU_VALUE_PORT
This commit is contained in:
parent
f1248eb690
commit
e7bccd7fc1
@ -738,6 +738,8 @@ const char *menu_hash_to_str_nl(uint32_t hash)
|
|||||||
return "TERUG";
|
return "TERUG";
|
||||||
case MENU_VALUE_DISABLED:
|
case MENU_VALUE_DISABLED:
|
||||||
return "Uitgeschakeld";
|
return "Uitgeschakeld";
|
||||||
|
case MENU_VALUE_PORT:
|
||||||
|
return "Poort";
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -1301,6 +1301,8 @@ const char *menu_hash_to_str_us(uint32_t hash)
|
|||||||
return "Screen Resolution";
|
return "Screen Resolution";
|
||||||
case MENU_VALUE_DISABLED:
|
case MENU_VALUE_DISABLED:
|
||||||
return "Disabled";
|
return "Disabled";
|
||||||
|
case MENU_VALUE_PORT:
|
||||||
|
return "Port";
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -900,7 +900,7 @@ extern "C" {
|
|||||||
|
|
||||||
#define MENU_VALUE_BACK 0x7c825df6U
|
#define MENU_VALUE_BACK 0x7c825df6U
|
||||||
#define MENU_VALUE_DISABLED 0xe326e01dU
|
#define MENU_VALUE_DISABLED 0xe326e01dU
|
||||||
|
#define MENU_VALUE_PORT 0x7c8ad52aU
|
||||||
|
|
||||||
const char *menu_hash_to_str_de(uint32_t hash);
|
const char *menu_hash_to_str_de(uint32_t hash);
|
||||||
|
|
||||||
|
@ -3013,7 +3013,10 @@ static void get_string_representation_bind_device(void * data, char *s,
|
|||||||
strlcpy(s, device_name, len);
|
strlcpy(s, device_name, len);
|
||||||
else
|
else
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
"%s (port #%u)", menu_hash_to_str(MENU_VALUE_NOT_AVAILABLE), map);
|
"%s (%s #%u)",
|
||||||
|
menu_hash_to_str(MENU_VALUE_NOT_AVAILABLE),
|
||||||
|
menu_hash_to_str(MENU_VALUE_PORT),
|
||||||
|
map);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
strlcpy(s, menu_hash_to_str(MENU_VALUE_DISABLED), len);
|
strlcpy(s, menu_hash_to_str(MENU_VALUE_DISABLED), len);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user