diff options
| author | 2021-11-04 20:34:20 -0400 | |
|---|---|---|
| committer | 2021-11-04 20:34:20 -0400 | |
| commit | 3a71ff44f82304b3e781c89fb60bd87c2c7afa3c (patch) | |
| tree | 2244cf6a21d45b6bbb5c57d77e154c130e415961 /src/core/core.h | |
| parent | Merge pull request #7289 from ameerj/perf-stat-shutdown (diff) | |
| parent | general: Get the current process program id directly from the system (diff) | |
| download | yuzu-3a71ff44f82304b3e781c89fb60bd87c2c7afa3c.tar.gz yuzu-3a71ff44f82304b3e781c89fb60bd87c2c7afa3c.tar.xz yuzu-3a71ff44f82304b3e781c89fb60bd87c2c7afa3c.zip | |
Merge pull request #7279 from Morph1984/system-get-program-id
general: Get the current process program id directly from the system
Diffstat (limited to 'src/core/core.h')
| -rw-r--r-- | src/core/core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h index 1cfe1bba6..01bc0a2c7 100644 --- a/src/core/core.h +++ b/src/core/core.h | |||
| @@ -297,6 +297,8 @@ public: | |||
| 297 | /// Provides a constant reference to the speed limiter | 297 | /// Provides a constant reference to the speed limiter |
| 298 | [[nodiscard]] const Core::SpeedLimiter& SpeedLimiter() const; | 298 | [[nodiscard]] const Core::SpeedLimiter& SpeedLimiter() const; |
| 299 | 299 | ||
| 300 | [[nodiscard]] u64 GetCurrentProcessProgramID() const; | ||
| 301 | |||
| 300 | /// Gets the name of the current game | 302 | /// Gets the name of the current game |
| 301 | [[nodiscard]] Loader::ResultStatus GetGameName(std::string& out) const; | 303 | [[nodiscard]] Loader::ResultStatus GetGameName(std::string& out) const; |
| 302 | 304 | ||