Skip to content

Commit 32173c3

Browse files
committed
Cleaned up removed function and settings capitalization
1 parent 9a3af38 commit 32173c3

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

ui/xui/main-menu.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ void MainMenuDisplayView::Draw()
558558
Toggle("Vertical refresh sync", &g_config.display.window.vsync,
559559
"Sync to screen vertical refresh to reduce tearing artifacts");
560560

561-
if (ChevronCombo("Frame Rate Cap", &g_config.display.window.fps_cap,
561+
if (ChevronCombo("Frame rate cap", &g_config.display.window.fps_cap,
562562
"None\0"
563563
"15fps\0"
564564
"30fps\0"
@@ -572,7 +572,7 @@ void MainMenuDisplayView::Draw()
572572

573573
char custom_refresh_rate[32];
574574
snprintf(custom_refresh_rate, sizeof(custom_refresh_rate),
575-
"Cap Refresh Rate at %dfps\0", (int)g_config.display.window.custom_fps_cap);
575+
"Limit refresh rate to %dfps\0", (int)g_config.display.window.custom_fps_cap);
576576
if (g_config.display.window.fps_cap == CONFIG_DISPLAY_WINDOW_FPS_CAP_CUSTOM) {
577577
if(Slider("Custom FPS Limit", &g_config.display.window.custom_fps_cap, 10, 300, custom_refresh_rate)) {
578578
xemu_update_frame_rate_cap();

ui/xui/menubar.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ void ShowMainMenu()
203203
// We need to both allocate a string beginning with the base options
204204
// and track the substring size, so just use a macro.
205205
#ifndef FPS_BASE_OPTIONS_STR
206-
#define FPS_BASE_OPTIONS_STR "none\0""15fps\0""30fps\0""60fps\0""120fps\0""144fps"
206+
#define FPS_BASE_OPTIONS_STR "None\0""15fps\0""30fps\0""60fps\0""120fps\0""144fps"
207207
#endif
208208

209209
// Allocate the fps options buffer

ui/xui/xemu-hud.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ extern "C" {
3333
// Implemented in xemu.c
3434
int xemu_is_fullscreen(void);
3535
void xemu_toggle_fullscreen(void);
36-
int xemu_get_frame_rate_cap(void);
3736
void xemu_update_frame_rate_cap(void);
3837
void xemu_eject_disc(Error **errp);
3938
void xemu_load_disc(const char *path, Error **errp);

0 commit comments

Comments
 (0)