summaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
authorGravatar Zach Hilman2018-08-23 14:12:56 -0400
committerGravatar Zach Hilman2018-08-23 14:12:56 -0400
commit67fa51ea2f54355bcf49bed36658151e6153bb44 (patch)
treee066bd93a6d72de7011cabcd096db6ae8bfb8873 /src/core/core.h
parentMerge pull request #1160 from bunnei/surface-reserve (diff)
downloadyuzu-67fa51ea2f54355bcf49bed36658151e6153bb44.tar.gz
yuzu-67fa51ea2f54355bcf49bed36658151e6153bb44.tar.xz
yuzu-67fa51ea2f54355bcf49bed36658151e6153bb44.zip
qt: Add filename and title id to window title while running
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h7
1 files changed, 7 insertions, 0 deletions
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:
187 return current_process; 187 return current_process;
188 } 188 }
189 189
190 /// Gets the name of the current game
191 Loader::ResultStatus GetGameName(std::string& out) const {
192 if (app_loader == nullptr)
193 return Loader::ResultStatus::ErrorNotInitialized;
194 return app_loader->ReadTitle(out);
195 }
196
190 PerfStats perf_stats; 197 PerfStats perf_stats;
191 FrameLimiter frame_limiter; 198 FrameLimiter frame_limiter;
192 199