diff options
| author | 2019-04-15 21:42:16 -0400 | |
|---|---|---|
| committer | 2019-04-15 21:42:16 -0400 | |
| commit | a7c3275b8b97eac22926786f6e78a474c1c3f828 (patch) | |
| tree | 937cc401ac6fb489b5b836d24e044678d13a4266 /src/core/hle/kernel/thread.cpp | |
| parent | Merge pull request #2399 from FernandoS27/fermi-fix (diff) | |
| parent | kernel/thread: Remove BoostPriority() (diff) | |
| download | yuzu-a7c3275b8b97eac22926786f6e78a474c1c3f828.tar.gz yuzu-a7c3275b8b97eac22926786f6e78a474c1c3f828.tar.xz yuzu-a7c3275b8b97eac22926786f6e78a474c1c3f828.zip | |
Merge pull request #2398 from lioncash/boost
kernel/thread: Remove BoostPriority()
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
| -rw-r--r-- | src/core/hle/kernel/thread.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 1b891f632..ca52267b2 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp | |||
| @@ -220,11 +220,6 @@ void Thread::SetPriority(u32 priority) { | |||
| 220 | UpdatePriority(); | 220 | UpdatePriority(); |
| 221 | } | 221 | } |
| 222 | 222 | ||
| 223 | void Thread::BoostPriority(u32 priority) { | ||
| 224 | scheduler->SetThreadPriority(this, priority); | ||
| 225 | current_priority = priority; | ||
| 226 | } | ||
| 227 | |||
| 228 | void Thread::SetWaitSynchronizationResult(ResultCode result) { | 223 | void Thread::SetWaitSynchronizationResult(ResultCode result) { |
| 229 | context.cpu_registers[0] = result.raw; | 224 | context.cpu_registers[0] = result.raw; |
| 230 | } | 225 | } |