summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2019-09-21 09:34:46 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2019-09-21 09:34:46 +0200
commit934ce530f6281e24e227362fb4113d5a051b9441 (patch)
tree4a5dd5341e23adefd8913cf1011a11cd4aed5a42
parentMerge pull request #2879 from ogniK5377/trace-submitgpfifo (diff)
downloadyuzu-934ce530f6281e24e227362fb4113d5a051b9441.tar
yuzu-934ce530f6281e24e227362fb4113d5a051b9441.tar.gz
yuzu-934ce530f6281e24e227362fb4113d5a051b9441.tar.bz2
yuzu-934ce530f6281e24e227362fb4113d5a051b9441.tar.lz
yuzu-934ce530f6281e24e227362fb4113d5a051b9441.tar.xz
yuzu-934ce530f6281e24e227362fb4113d5a051b9441.tar.zst
yuzu-934ce530f6281e24e227362fb4113d5a051b9441.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 8304c6517..9a42a998a 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -964,11 +964,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();
@@ -976,7 +976,7 @@ void GMainWindow::BootGame(const QString& filename) {
if (title_name.empty())
title_name = FileUtil::GetFilename(filename.toStdString());
}
-
+ LOG_INFO(Frontend, "Booting game: \"{}\" | {:016X}", title_name, title_id);
UpdateWindowTitle(QString::fromStdString(title_name));
loading_screen->Prepare(Core::System::GetInstance().GetAppLoader());