diff options
| author | 2020-09-30 21:22:45 +1000 | |
|---|---|---|
| committer | 2020-09-30 21:22:45 +1000 | |
| commit | f7808f5658ba7ff0d8ea2b62350b4878ecb13672 (patch) | |
| tree | 2e5ec11d9a5917399b3ba05a50c1aa711071bf96 /src/core/core.h | |
| parent | Merge pull request #4733 from ReinUsesLisp/game-list-leak (diff) | |
| parent | core: Mark GetInstance() as deprecated (diff) | |
| download | yuzu-f7808f5658ba7ff0d8ea2b62350b4878ecb13672.tar.gz yuzu-f7808f5658ba7ff0d8ea2b62350b4878ecb13672.tar.xz yuzu-f7808f5658ba7ff0d8ea2b62350b4878ecb13672.zip | |
Merge pull request #4726 from lioncash/applet
frontend/controller: Eliminate dependency on the global system instance
Diffstat (limited to 'src/core/core.h')
| -rw-r--r-- | src/core/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core.h b/src/core/core.h index 83ded63a5..27efe30bb 100644 --- a/src/core/core.h +++ b/src/core/core.h | |||
| @@ -120,7 +120,7 @@ public: | |||
| 120 | * Gets the instance of the System singleton class. | 120 | * Gets the instance of the System singleton class. |
| 121 | * @returns Reference to the instance of the System singleton class. | 121 | * @returns Reference to the instance of the System singleton class. |
| 122 | */ | 122 | */ |
| 123 | static System& GetInstance() { | 123 | [[deprecated("Use of the global system instance is deprecated")]] static System& GetInstance() { |
| 124 | return s_instance; | 124 | return s_instance; |
| 125 | } | 125 | } |
| 126 | 126 | ||