mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-01-05 03:00:50 -06:00
game_window: change window title to "Unleashed Recompiled"
This commit is contained in:
@@ -298,9 +298,14 @@ void GameWindow::SetIcon(bool isNight)
|
||||
|
||||
const char* GameWindow::GetTitle()
|
||||
{
|
||||
return Config::Language == ELanguage::Japanese
|
||||
? "SONIC WORLD ADVENTURE"
|
||||
: "SONIC UNLEASHED";
|
||||
if (Config::UseOfficialTitleOnTitleBar)
|
||||
{
|
||||
return Config::Language == ELanguage::Japanese
|
||||
? "SONIC WORLD ADVENTURE"
|
||||
: "SONIC UNLEASHED";
|
||||
}
|
||||
|
||||
return "Unleashed Recompiled";
|
||||
}
|
||||
|
||||
void GameWindow::SetTitle(const char* title)
|
||||
|
||||
@@ -373,7 +373,8 @@ public:
|
||||
if (Callback)
|
||||
Callback(this);
|
||||
|
||||
IsLoadedFromConfig = true;
|
||||
if (pSection->contains(Name))
|
||||
IsLoadedFromConfig = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -683,6 +684,7 @@ public:
|
||||
CONFIG_DEFINE_HIDDEN("Exports", bool, HomingAttackOnBoost, true);
|
||||
CONFIG_DEFINE_HIDDEN("Exports", bool, SaveScoreAtCheckpoints, false);
|
||||
CONFIG_DEFINE_HIDDEN("Exports", bool, SkipIntroLogos, false);
|
||||
CONFIG_DEFINE_HIDDEN("Exports", bool, UseOfficialTitleOnTitleBar, false);
|
||||
|
||||
static std::filesystem::path GetConfigPath()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user