From 67fa51ea2f54355bcf49bed36658151e6153bb44 Mon Sep 17 00:00:00 2001 From: Zach Hilman Date: Thu, 23 Aug 2018 14:12:56 -0400 Subject: qt: Add filename and title id to window title while running --- src/core/core.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/core') diff --git a/src/core/core.h b/src/core/core.h index 790e23cae..7188dabdc 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -187,6 +187,13 @@ public: return current_process; } + /// Gets the name of the current game + Loader::ResultStatus GetGameName(std::string& out) const { + if (app_loader == nullptr) + return Loader::ResultStatus::ErrorNotInitialized; + return app_loader->ReadTitle(out); + } + PerfStats perf_stats; FrameLimiter frame_limiter; -- cgit v1.2.3