summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZach Hilman <DarkLordZach@users.noreply.github.com>2019-09-22 03:34:19 +0200
committerGitHub <noreply@github.com>2019-09-22 03:34:19 +0200
commit7979ccd9569865952b552635f918c98899c91ce9 (patch)
tree7dd277ed5507f55d2d1390c51d8762f71c955718
parentUpdate README.md (#2871) (diff)
parentSwapped TID and Game name to make it easier to parse (diff)
downloadyuzu-7979ccd9569865952b552635f918c98899c91ce9.tar
yuzu-7979ccd9569865952b552635f918c98899c91ce9.tar.gz
yuzu-7979ccd9569865952b552635f918c98899c91ce9.tar.bz2
yuzu-7979ccd9569865952b552635f918c98899c91ce9.tar.lz
yuzu-7979ccd9569865952b552635f918c98899c91ce9.tar.xz
yuzu-7979ccd9569865952b552635f918c98899c91ce9.tar.zst
yuzu-7979ccd9569865952b552635f918c98899c91ce9.zip
-rw-r--r--src/yuzu/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 1dcfac258..0865385e3 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -972,11 +972,11 @@ void GMainWindow::BootGame(const QString& filename) {
}
status_bar_update_timer.start(2000);
+ const u64 title_id = Core::System::GetInstance().CurrentProcess()->GetTitleID();
+
std::string title_name;
const auto res = Core::System::GetInstance().GetGameName(title_name);
if (res != Loader::ResultStatus::Success) {
- const u64 title_id = Core::System::GetInstance().CurrentProcess()->GetTitleID();
-
const auto [nacp, icon_file] = FileSys::PatchManager(title_id).GetControlMetadata();
if (nacp != nullptr)
title_name = nacp->GetApplicationName();
@@ -984,7 +984,7 @@ void GMainWindow::BootGame(const QString& filename) {
if (title_name.empty())
title_name = FileUtil::GetFilename(filename.toStdString());
}
-
+ LOG_INFO(Frontend, "Booting game: {:016X} | {}", title_id, title_name);
UpdateWindowTitle(QString::fromStdString(title_name));
loading_screen->Prepare(Core::System::GetInstance().GetAppLoader());