From b7b044e0b2bb67a04bd5eb4aef893e794102a96a Mon Sep 17 00:00:00 2001 From: Agent X Date: Sun, 26 May 2024 10:29:45 -0400 Subject: [PATCH] Improve save file names slightly --- src/pc/configfile.c | 8 ++++---- src/pc/controller/controller_sdl2.c | 2 +- src/pc/djui/djui_panel_host_save.c | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pc/configfile.c b/src/pc/configfile.c index 9a191a13..203f1123 100644 --- a/src/pc/configfile.c +++ b/src/pc/configfile.c @@ -59,10 +59,10 @@ struct FunctionConfigOption { static_assert(NUM_SAVE_FILES == 4); // update this if more save slots are added char configSaveNames[4][MAX_SAVE_NAME_STRING] = { - "Super Mario 64", - "Super Mario 64", - "Super Mario 64", - "Super Mario 64" + "SM64", + "SM64", + "SM64", + "SM64" }; // Video/audio stuff diff --git a/src/pc/controller/controller_sdl2.c b/src/pc/controller/controller_sdl2.c index 7393177f..9d7c1f50 100644 --- a/src/pc/controller/controller_sdl2.c +++ b/src/pc/controller/controller_sdl2.c @@ -151,7 +151,7 @@ static SDL_Haptic *controller_sdl_init_haptics(const int joy) { return NULL; } - printf("controller %s has haptics support, rumble enabled\n", SDL_JoystickNameForIndex(joy)); + printf("Controller %s has haptics support, rumble enabled\n", SDL_JoystickNameForIndex(joy)); return hap; } diff --git a/src/pc/djui/djui_panel_host_save.c b/src/pc/djui/djui_panel_host_save.c index 045051a7..6045cb60 100644 --- a/src/pc/djui/djui_panel_host_save.c +++ b/src/pc/djui/djui_panel_host_save.c @@ -108,7 +108,7 @@ void djui_panel_host_save_create(struct DjuiBase* caller) { button2->base.tag = i; djui_base_set_size(&button2->base, 0.19f, 32); djui_base_set_alignment(&button2->base, DJUI_HALIGN_CENTER, DJUI_VALIGN_TOP); - djui_base_set_location(&button2->base, 127, 0); + djui_base_set_location(&button2->base, button1->rect->base.width.value + 98, 0); djui_base_set_enabled(&button2->base, gDjuiInMainMenu); struct DjuiButton* button3 = djui_button_create(&rect1->base, DLANG(HOST_SAVE, EDIT), DJUI_BUTTON_STYLE_NORMAL, djui_panel_host_save_edit);