diff options
author | Lioncash <mathew1800@gmail.com> | 2018-09-18 02:49:40 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-09-18 03:20:04 -0400 |
commit | b51e7e028839a5d1cb92024e327b7f8b8fb62f40 (patch) | |
tree | 93d109f54b71cb7635d1435ad4f12b678ef08d27 /src/core/hle/kernel/thread.cpp | |
parent | a94b623dfb6f151dfa9c0a62ad30368a9c8058c2 (diff) |
arm_interface: Remove ARM11-isms from the CPU interface
This modifies the CPU interface to more accurately match an
AArch64-supporting CPU as opposed to an ARM11 one. Two of the methods
don't even make sense to keep around for this interface, as Adv Simd is
used, rather than the VFP in the primary execution state. This is
essentially a modernization change that should have occurred from the
get-go.
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
-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 89cd5f4010..d4183d6e3a 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -217,8 +217,8 @@ static void ResetThreadContext(Core::ARM_Interface::ThreadContext& context, VAdd context.cpu_registers[0] = arg; context.pc = entry_point; context.sp = stack_top; - context.cpsr = 0; - context.fpscr = 0; + context.pstate = 0; + context.fpcr = 0; } ResultVal<SharedPtr<Thread>> Thread::Create(KernelCore& kernel, std::string name, VAddr entry_point, |