diff options
| author | 2020-05-13 14:17:34 -0400 | |
|---|---|---|
| committer | 2020-06-27 11:36:15 -0400 | |
| commit | d24014358883987d7ebdafc4863a7bc36addfa1b (patch) | |
| tree | 4277b9194972e40e124f130f2759268bf14cd4d6 /src/core/hle/kernel/thread.cpp | |
| parent | YuzuQT: Hide Speed UI on Multicore. (diff) | |
| download | yuzu-d24014358883987d7ebdafc4863a7bc36addfa1b.tar.gz yuzu-d24014358883987d7ebdafc4863a7bc36addfa1b.tar.xz yuzu-d24014358883987d7ebdafc4863a7bc36addfa1b.zip | |
Kernel: Correct Host Context on Threads and Scheduler.
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
| -rw-r--r-- | src/core/hle/kernel/thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index fba2a9c85..2b1092697 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp | |||
| @@ -150,7 +150,7 @@ static void ResetThreadContext64(Core::ARM_Interface::ThreadContext64& context, | |||
| 150 | context.fpcr = 0; | 150 | context.fpcr = 0; |
| 151 | } | 151 | } |
| 152 | 152 | ||
| 153 | std::shared_ptr<Common::Fiber> Thread::GetHostContext() const { | 153 | std::shared_ptr<Common::Fiber>& Thread::GetHostContext() { |
| 154 | return host_context; | 154 | return host_context; |
| 155 | } | 155 | } |
| 156 | 156 | ||