diff options
| author | 2018-09-26 16:17:18 -0400 | |
|---|---|---|
| committer | 2018-09-26 16:17:18 -0400 | |
| commit | c0445006af7f985df0f8ec04ac815ee0b8ffabeb (patch) | |
| tree | b85f6c839d042bcf9bfca4b0321d846aef74f5f5 /src/core/hle/kernel/scheduler.h | |
| parent | Merge pull request #1400 from lioncash/header (diff) | |
| parent | core_cpu: Make arm_interface instances a std::unique_ptr (diff) | |
| download | yuzu-c0445006af7f985df0f8ec04ac815ee0b8ffabeb.tar.gz yuzu-c0445006af7f985df0f8ec04ac815ee0b8ffabeb.tar.xz yuzu-c0445006af7f985df0f8ec04ac815ee0b8ffabeb.zip | |
Merge pull request #1399 from lioncash/sched
kernel/scheduler: Take ARM_Interface instances by reference
Diffstat (limited to 'src/core/hle/kernel/scheduler.h')
| -rw-r--r-- | src/core/hle/kernel/scheduler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/scheduler.h b/src/core/hle/kernel/scheduler.h index 744990c9b..2c94641ec 100644 --- a/src/core/hle/kernel/scheduler.h +++ b/src/core/hle/kernel/scheduler.h | |||
| @@ -19,7 +19,7 @@ namespace Kernel { | |||
| 19 | 19 | ||
| 20 | class Scheduler final { | 20 | class Scheduler final { |
| 21 | public: | 21 | public: |
| 22 | explicit Scheduler(Core::ARM_Interface* cpu_core); | 22 | explicit Scheduler(Core::ARM_Interface& cpu_core); |
| 23 | ~Scheduler(); | 23 | ~Scheduler(); |
| 24 | 24 | ||
| 25 | /// Returns whether there are any threads that are ready to run. | 25 | /// Returns whether there are any threads that are ready to run. |
| @@ -72,7 +72,7 @@ private: | |||
| 72 | 72 | ||
| 73 | SharedPtr<Thread> current_thread = nullptr; | 73 | SharedPtr<Thread> current_thread = nullptr; |
| 74 | 74 | ||
| 75 | Core::ARM_Interface* cpu_core; | 75 | Core::ARM_Interface& cpu_core; |
| 76 | 76 | ||
| 77 | static std::mutex scheduler_mutex; | 77 | static std::mutex scheduler_mutex; |
| 78 | }; | 78 | }; |