Keep TitleId in titlebar

This commit is contained in:
Exzap 2025-12-26 22:41:27 +01:00 committed by GitHub
parent 9be0e92f8a
commit 4b2fef3047
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -121,7 +121,8 @@ void WindowSystem::UpdateWindowTitles(bool isIdle, bool isLoading, double fps)
else if (LatteGPUState.glVendor == GLVENDOR_APPLE)
graphicMode = "[Apple GPU]";
windowText.append(fmt::format(" - FPS: {:.2f} {} {}", (double)fps, renderer, graphicMode));
const uint64 titleId = CafeSystem::GetForegroundTitleId();
windowText.append(fmt::format(" - FPS: {:.2f} {} {} [TitleId: {:08x}-{:08x}]", (double)fps, renderer, graphicMode, (uint32)(titleId >> 32), (uint32)(titleId & 0xFFFFFFFF)));
if (ActiveSettings::IsOnlineEnabled())
{