summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-06-28 10:25:03 +0200
committerGitHub <noreply@github.com>2021-06-28 10:25:03 +0200
commitc5e25cffb9f561394a6b30c1b30a327404fa1545 (patch)
treec8bc437134d8d637c0d96beafa9134a154538465
parentMerge pull request #6529 from ReinUsesLisp/reaper-fixups (diff)
parentmain: Display the instruction set of the running title in the window name (diff)
downloadyuzu-c5e25cffb9f561394a6b30c1b30a327404fa1545.tar
yuzu-c5e25cffb9f561394a6b30c1b30a327404fa1545.tar.gz
yuzu-c5e25cffb9f561394a6b30c1b30a327404fa1545.tar.bz2
yuzu-c5e25cffb9f561394a6b30c1b30a327404fa1545.tar.lz
yuzu-c5e25cffb9f561394a6b30c1b30a327404fa1545.tar.xz
yuzu-c5e25cffb9f561394a6b30c1b30a327404fa1545.tar.zst
yuzu-c5e25cffb9f561394a6b30c1b30a327404fa1545.zip
-rw-r--r--src/yuzu/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 6f5b2f6d6..20f65d233 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -1422,6 +1422,9 @@ void GMainWindow::BootGame(const QString& filename, std::size_t program_index, S
title_name = Common::FS::PathToUTF8String(
std::filesystem::path{filename.toStdU16String()}.filename());
}
+ const bool is_64bit = system.Kernel().CurrentProcess()->Is64BitProcess();
+ const auto instruction_set_suffix = is_64bit ? " (64-bit)" : " (32-bit)";
+ title_name += instruction_set_suffix;
LOG_INFO(Frontend, "Booting game: {:016X} | {} | {}", title_id, title_name, title_version);
UpdateWindowTitle(title_name, title_version);