diff options
author | Lioncash <mathew1800@gmail.com> | 2018-09-30 00:47:00 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-09-30 08:30:01 +0200 |
commit | cf9d6c6f526fffb2bf414ff774c5d0281a73ecf4 (patch) | |
tree | a9e0bbc02013f0dbc6409af9c8685a8b8b9e9f32 /src/core/hle/kernel/thread.cpp | |
parent | arm_interface: Add missing fpsr/tpidr members to the ThreadContext struct (diff) | |
download | yuzu-cf9d6c6f526fffb2bf414ff774c5d0281a73ecf4.tar yuzu-cf9d6c6f526fffb2bf414ff774c5d0281a73ecf4.tar.gz yuzu-cf9d6c6f526fffb2bf414ff774c5d0281a73ecf4.tar.bz2 yuzu-cf9d6c6f526fffb2bf414ff774c5d0281a73ecf4.tar.lz yuzu-cf9d6c6f526fffb2bf414ff774c5d0281a73ecf4.tar.xz yuzu-cf9d6c6f526fffb2bf414ff774c5d0281a73ecf4.tar.zst yuzu-cf9d6c6f526fffb2bf414ff774c5d0281a73ecf4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 064ed908d..b5c16cfbb 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -259,10 +259,10 @@ void Thread::BoostPriority(u32 priority) { SharedPtr<Thread> SetupMainThread(KernelCore& kernel, VAddr entry_point, u32 priority, Process& owner_process) { // Setup page table so we can write to memory - SetCurrentPageTable(&owner_process.vm_manager.page_table); + SetCurrentPageTable(&owner_process.VMManager().page_table); // Initialize new "main" thread - const VAddr stack_top = owner_process.vm_manager.GetTLSIORegionEndAddress(); + const VAddr stack_top = owner_process.VMManager().GetTLSIORegionEndAddress(); auto thread_res = Thread::Create(kernel, "main", entry_point, priority, 0, THREADPROCESSORID_0, stack_top, &owner_process); |