mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-10-31 19:52:54 +01:00
game_window: change window title to "Unleashed Recompiled"
This commit is contained in:
1 parent
513a66657f
commit
e7919da1bd
2 files changed
+11
-4
No files matched your search
@@ -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