diff options
| author | 2020-03-10 13:13:39 -0400 | |
|---|---|---|
| committer | 2020-06-27 11:35:45 -0400 | |
| commit | d494b074e8afd3aff7b65afc7b977496be06ccc9 (patch) | |
| tree | 002cc29d32a9b1e44e61fb1aae122715556b36c5 /src/core/hle/kernel/kernel.h | |
| parent | CPU_Manager: Unload/Reload threads on preemption on SingleCore (diff) | |
| download | yuzu-d494b074e8afd3aff7b65afc7b977496be06ccc9.tar.gz yuzu-d494b074e8afd3aff7b65afc7b977496be06ccc9.tar.xz yuzu-d494b074e8afd3aff7b65afc7b977496be06ccc9.zip | |
Kernel: Preempt Single core on redudant yields.
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
| -rw-r--r-- | src/core/hle/kernel/kernel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index 162bbd2f8..50eeb50ec 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h | |||
| @@ -212,6 +212,8 @@ public: | |||
| 212 | /// Exceptional exit the OS. | 212 | /// Exceptional exit the OS. |
| 213 | void ExceptionalExit(); | 213 | void ExceptionalExit(); |
| 214 | 214 | ||
| 215 | bool IsMulticore() const; | ||
| 216 | |||
| 215 | private: | 217 | private: |
| 216 | friend class Object; | 218 | friend class Object; |
| 217 | friend class Process; | 219 | friend class Process; |