diff options
| author | 2019-10-06 13:51:31 -0400 | |
|---|---|---|
| committer | 2019-10-06 13:53:12 -0400 | |
| commit | f1382cf0e7180cd31505ee89e774cc93bde6211e (patch) | |
| tree | c732e422a882f0e40e42094533546b32e61d56c2 /src/core/core.h | |
| parent | hle/service: Replace global system instance calls with instance-based ones (diff) | |
| download | yuzu-f1382cf0e7180cd31505ee89e774cc93bde6211e.tar.gz yuzu-f1382cf0e7180cd31505ee89e774cc93bde6211e.tar.xz yuzu-f1382cf0e7180cd31505ee89e774cc93bde6211e.zip | |
core: Remove Core::CurrentProcess()
This only encourages the use of the global system instance (which will
be phased out long-term). Instead, we use the direct system function
call directly to remove the appealing but discouraged short-hand.
Diffstat (limited to 'src/core/core.h')
| -rw-r--r-- | src/core/core.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/core.h b/src/core/core.h index fecfdb959..97944c366 100644 --- a/src/core/core.h +++ b/src/core/core.h | |||
| @@ -359,8 +359,4 @@ private: | |||
| 359 | static System s_instance; | 359 | static System s_instance; |
| 360 | }; | 360 | }; |
| 361 | 361 | ||
| 362 | inline Kernel::Process* CurrentProcess() { | ||
| 363 | return System::GetInstance().CurrentProcess(); | ||
| 364 | } | ||
| 365 | |||
| 366 | } // namespace Core | 362 | } // namespace Core |