Minor corrections

This commit is contained in:
wiidev 2021-02-04 16:55:04 +00:00
parent 7c36ea3f9b
commit 7e56d8f4ba
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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