From 7e56d8f4ba383e68d06421f8ef4be8a9ae17a6b8 Mon Sep 17 00:00:00 2001 From: wiidev Date: Thu, 4 Feb 2021 16:55:04 +0000 Subject: [PATCH] Minor corrections --- source/settings/CSettings.cpp | 2 +- source/settings/menus/GameLoadSM.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/settings/CSettings.cpp b/source/settings/CSettings.cpp index ef026033..faef6869 100644 --- a/source/settings/CSettings.cpp +++ b/source/settings/CSettings.cpp @@ -110,7 +110,7 @@ void CSettings::SetDefault() language = CONSOLE_DEFAULT; ocarina = OFF; hddinfo = CLOCK_HR12; - sinfo = ON; + sinfo = GAMEINFO_REGION; rumble = ON; GameSort = SORT_ABC; volume = 80; diff --git a/source/settings/menus/GameLoadSM.cpp b/source/settings/menus/GameLoadSM.cpp index fe8657fc..1d92d9a0 100644 --- a/source/settings/menus/GameLoadSM.cpp +++ b/source/settings/menus/GameLoadSM.cpp @@ -485,7 +485,7 @@ int GameLoadSM::GetMenuInternal() else if (ret == ++Idx) { char entered[300]; - snprintf(entered, sizeof(entered), GameConfig.CustomAddress.c_str()); + snprintf(entered, sizeof(entered), "%s", GameConfig.CustomAddress.c_str()); if (OnScreenKeyboard(entered, sizeof(entered), 0, false, true)) { // Only allow letters, numbers, periods and hyphens