- compile fixes

This commit is contained in:
Rachael Alexanderson 2024-04-21 11:24:52 -04:00
commit 9b950c7d2f
No known key found for this signature in database
GPG key ID: 26A8ACCE97115EE0
4 changed files with 5 additions and 6 deletions

View file

@ -63,11 +63,11 @@ int PlayGamePage::GetSelectedGame()
void PlayGamePage::UpdateLanguage()
{
SelectLabel->SetText(GStrings("PICKER_SELECT"));
SelectLabel->SetText(GStrings.GetString("PICKER_SELECT"));
#if defined(EXTRAARGS)
ParametersLabel->SetText(GStrings("PICKER_ADDPARM"));
ParametersLabel->SetText(GStrings.GetString("PICKER_ADDPARM"));
#endif
FString welcomeText = GStrings("PICKER_WELCOME");
FString welcomeText = GStrings.GetString("PICKER_WELCOME");
welcomeText.Substitute("%s", GAMENAME);
WelcomeLabel->SetText(welcomeText.GetChars());
}