qt: Add filename and title id to window title while running
This commit is contained in:
parent
0dce6d7008
commit
67fa51ea2f
2 changed files with 18 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue