Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Merge pull request #6502 from ameerj/vendor-title

Morphf793874d291b
diff --cc src/yuzu/main.cpp
index 20f65d2331,f4dd53b9bb..7063327e87
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@@ -1422,11 -1418,9 +1423,12 @@@ void GMainWindow::BootGame(const QStrin
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);
+ const auto gpu_vendor = system.GPU().Renderer().GetDeviceVendor();
+ UpdateWindowTitle(title_name, title_version, gpu_vendor);
loading_screen->Prepare(system.GetAppLoader());
loading_screen->show();