mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-30 16:14:11 +00:00
(RMenu) Use menu_settings.c function for setting (Show Framerate)
This commit is contained in:
parent
3a83c7711b
commit
3d1b0fcdfc
@ -370,7 +370,6 @@ static void render_text(void *data)
|
||||
#endif
|
||||
case SETTING_EMU_SHOW_DEBUG_INFO_MSG:
|
||||
strlcpy(text, "Show Framerate", sizeof(text));
|
||||
snprintf(setting_text, sizeof(setting_text), (g_extern.lifecycle_mode_state & (1ULL << MODE_FPS_DRAW)) ? "ON" : "OFF");
|
||||
break;
|
||||
case SETTING_EMU_SHOW_INFO_MSG:
|
||||
strlcpy(text, "Info Messages", sizeof(text));
|
||||
@ -626,6 +625,7 @@ static void render_text(void *data)
|
||||
case SETTING_VIDEO_VSYNC:
|
||||
case SETTING_REFRESH_RATE:
|
||||
case SETTING_HW_TEXTURE_FILTER:
|
||||
case SETTING_EMU_SHOW_DEBUG_INFO_MSG:
|
||||
menu_set_settings_label(setting_text, sizeof(setting_text), &w, settings_lut[i]);
|
||||
break;
|
||||
case SETTING_CUSTOM_VIEWPORT:
|
||||
|
Loading…
x
Reference in New Issue
Block a user