From 4b2fef3047df41ac551f38d64a7aff7bbf5b4fa2 Mon Sep 17 00:00:00 2001 From: Exzap <13877693+Exzap@users.noreply.github.com> Date: Fri, 26 Dec 2025 22:41:27 +0100 Subject: [PATCH] Keep TitleId in titlebar --- src/gui/wxgui/wxWindowSystem.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/wxgui/wxWindowSystem.cpp b/src/gui/wxgui/wxWindowSystem.cpp index a68acf5b..c828dc14 100644 --- a/src/gui/wxgui/wxWindowSystem.cpp +++ b/src/gui/wxgui/wxWindowSystem.cpp @@ -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()) {