summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-06-28 06:37:24 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-06-28 06:37:24 +0200
commit4cee25281f345d34fe04c779dc4c0e244f4970ac (patch)
treec8bc437134d8d637c0d96beafa9134a154538465
parentMerge pull request #6529 from ReinUsesLisp/reaper-fixups (diff)
downloadyuzu-4cee25281f345d34fe04c779dc4c0e244f4970ac.tar
yuzu-4cee25281f345d34fe04c779dc4c0e244f4970ac.tar.gz
yuzu-4cee25281f345d34fe04c779dc4c0e244f4970ac.tar.bz2
yuzu-4cee25281f345d34fe04c779dc4c0e244f4970ac.tar.lz
yuzu-4cee25281f345d34fe04c779dc4c0e244f4970ac.tar.xz
yuzu-4cee25281f345d34fe04c779dc4c0e244f4970ac.tar.zst
yuzu-4cee25281f345d34fe04c779dc4c0e244f4970ac.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);