diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-06-28 04:25:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-28 04:25:03 -0400 |
commit | c5e25cffb9f561394a6b30c1b30a327404fa1545 (patch) | |
tree | c8bc437134d8d637c0d96beafa9134a154538465 /src/yuzu/main.cpp | |
parent | 4df04ad48a2b9f04712ad6627e9712f3625253a9 (diff) | |
parent | 4cee25281f345d34fe04c779dc4c0e244f4970ac (diff) |
Merge pull request #6535 from ameerj/insert-fancy-name
main: Display the instruction set of the running title in the window name
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r-- | src/yuzu/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 6f5b2f6d6c..20f65d2331 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); |