diff options
| author | 2021-06-28 00:37:24 -0400 | |
|---|---|---|
| committer | 2021-06-28 00:37:24 -0400 | |
| commit | 4cee25281f345d34fe04c779dc4c0e244f4970ac (patch) | |
| tree | c8bc437134d8d637c0d96beafa9134a154538465 /src | |
| parent | Merge pull request #6529 from ReinUsesLisp/reaper-fixups (diff) | |
| download | yuzu-4cee25281f345d34fe04c779dc4c0e244f4970ac.tar.gz yuzu-4cee25281f345d34fe04c779dc4c0e244f4970ac.tar.xz yuzu-4cee25281f345d34fe04c779dc4c0e244f4970ac.zip | |
main: Display the instruction set of the running title in the window name
Displays whether the currently running title uses 64-bit instructions or only 32-bit instructions.
Diffstat (limited to 'src')
| -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 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 | |||
| 1422 | title_name = Common::FS::PathToUTF8String( | 1422 | title_name = Common::FS::PathToUTF8String( |
| 1423 | std::filesystem::path{filename.toStdU16String()}.filename()); | 1423 | std::filesystem::path{filename.toStdU16String()}.filename()); |
| 1424 | } | 1424 | } |
| 1425 | const bool is_64bit = system.Kernel().CurrentProcess()->Is64BitProcess(); | ||
| 1426 | const auto instruction_set_suffix = is_64bit ? " (64-bit)" : " (32-bit)"; | ||
| 1427 | title_name += instruction_set_suffix; | ||
| 1425 | LOG_INFO(Frontend, "Booting game: {:016X} | {} | {}", title_id, title_name, title_version); | 1428 | LOG_INFO(Frontend, "Booting game: {:016X} | {} | {}", title_id, title_name, title_version); |
| 1426 | UpdateWindowTitle(title_name, title_version); | 1429 | UpdateWindowTitle(title_name, title_version); |
| 1427 | 1430 | ||