diff options
| author | 2016-12-22 00:00:01 -0500 | |
|---|---|---|
| committer | 2016-12-22 00:27:46 -0500 | |
| commit | e26fbfd1d72c026d0f25c09595e7123459b1734f (patch) | |
| tree | 5d99608b33c991b59c25cd2014be8bacb136c29b /src/core/hle/kernel/thread.cpp | |
| parent | Address clang-format issues. (diff) | |
| download | yuzu-e26fbfd1d72c026d0f25c09595e7123459b1734f.tar.gz yuzu-e26fbfd1d72c026d0f25c09595e7123459b1734f.tar.xz yuzu-e26fbfd1d72c026d0f25c09595e7123459b1734f.zip | |
core: Replace "AppCore" nomenclature with just "CPU".
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
| -rw-r--r-- | src/core/hle/kernel/thread.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index c964b35d4..60b7bea70 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp | |||
| @@ -187,7 +187,7 @@ static void SwitchContext(Thread* new_thread) { | |||
| 187 | // Save context for previous thread | 187 | // Save context for previous thread |
| 188 | if (previous_thread) { | 188 | if (previous_thread) { |
| 189 | previous_thread->last_running_ticks = CoreTiming::GetTicks(); | 189 | previous_thread->last_running_ticks = CoreTiming::GetTicks(); |
| 190 | Core::AppCore().SaveContext(previous_thread->context); | 190 | Core::CPU().SaveContext(previous_thread->context); |
| 191 | 191 | ||
| 192 | if (previous_thread->status == THREADSTATUS_RUNNING) { | 192 | if (previous_thread->status == THREADSTATUS_RUNNING) { |
| 193 | // This is only the case when a reschedule is triggered without the current thread | 193 | // This is only the case when a reschedule is triggered without the current thread |
| @@ -213,8 +213,8 @@ static void SwitchContext(Thread* new_thread) { | |||
| 213 | // Restores thread to its nominal priority if it has been temporarily changed | 213 | // Restores thread to its nominal priority if it has been temporarily changed |
| 214 | new_thread->current_priority = new_thread->nominal_priority; | 214 | new_thread->current_priority = new_thread->nominal_priority; |
| 215 | 215 | ||
| 216 | Core::AppCore().LoadContext(new_thread->context); | 216 | Core::CPU().LoadContext(new_thread->context); |
| 217 | Core::AppCore().SetCP15Register(CP15_THREAD_URO, new_thread->GetTLSAddress()); | 217 | Core::CPU().SetCP15Register(CP15_THREAD_URO, new_thread->GetTLSAddress()); |
| 218 | } else { | 218 | } else { |
| 219 | current_thread = nullptr; | 219 | current_thread = nullptr; |
| 220 | } | 220 | } |