Added code to force the alternate game title (#1249)

This commit is contained in:
Hyper
2025-03-24 18:57:35 +00:00
committed by GitHub
parent 7f9ce5037e
commit 8ca5f1bf53
4 changed files with 23 additions and 1 deletions
+6 -1
View File
@@ -282,7 +282,12 @@ const char* GameWindow::GetTitle()
{
if (Config::UseOfficialTitleOnTitleBar)
{
return Config::Language == ELanguage::Japanese
auto isSWA = Config::Language == ELanguage::Japanese;
if (Config::UseAlternateTitle)
isSWA = !isSWA;
return isSWA
? "SONIC WORLD ADVENTURE"
: "SONIC UNLEASHED";
}