mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-31 00:22:31 +00:00
(Menu) Add label for 'No performance counters'
This commit is contained in:
parent
2efcd469b6
commit
e370f3cc97
@ -92,7 +92,12 @@ static void menu_displaylist_push_perfcounter(
|
||||
{
|
||||
unsigned i;
|
||||
if (!counters || num == 0)
|
||||
{
|
||||
menu_list_push(info->list,
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_NO_PERFORMANCE_COUNTERS),
|
||||
"", 0, 0, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
for (i = 0; i < num; i++)
|
||||
if (counters[i] && counters[i]->ident)
|
||||
|
@ -1330,6 +1330,8 @@ static const char *menu_hash_to_str_english(uint32_t hash)
|
||||
{
|
||||
switch (hash)
|
||||
{
|
||||
case MENU_LABEL_VALUE_NO_PERFORMANCE_COUNTERS:
|
||||
return "No performance counters.";
|
||||
case MENU_LABEL_VALUE_DRIVER_SETTINGS:
|
||||
return "Driver Settings";
|
||||
case MENU_LABEL_VALUE_CONFIGURATION_SETTINGS:
|
||||
|
@ -29,6 +29,7 @@ extern "C" {
|
||||
#define MENU_VALUE_DIRECTORY_DEFAULT 0xdcc3a2e4U
|
||||
#define MENU_VALUE_NOT_AVAILABLE 0x0b880503U
|
||||
|
||||
#define MENU_LABEL_VALUE_NO_PERFORMANCE_COUNTERS 0xb4b52b95U
|
||||
|
||||
#define MENU_LABEL_VIDEO_FONT_ENABLE 0x697d9b58U
|
||||
#define MENU_LABEL_VALUE_VIDEO_FONT_ENABLE 0x272a12a6U
|
||||
|
Loading…
x
Reference in New Issue
Block a user