summaryrefslogtreecommitdiffstats
path: root/src/core/arm/dynarmic/arm_dynarmic.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-07-21 00:56:53 +0200
committerLioncash <mathew1800@gmail.com>2018-07-21 00:57:40 +0200
commitae09adfcb343f4ebf73a3a85a911422cbf50d6fc (patch)
tree450f06d8bd27cdce2baa290e6850acf2d903d059 /src/core/arm/dynarmic/arm_dynarmic.cpp
parentMerge pull request #742 from bunnei/misc-apm (diff)
downloadyuzu-ae09adfcb343f4ebf73a3a85a911422cbf50d6fc.tar
yuzu-ae09adfcb343f4ebf73a3a85a911422cbf50d6fc.tar.gz
yuzu-ae09adfcb343f4ebf73a3a85a911422cbf50d6fc.tar.bz2
yuzu-ae09adfcb343f4ebf73a3a85a911422cbf50d6fc.tar.lz
yuzu-ae09adfcb343f4ebf73a3a85a911422cbf50d6fc.tar.xz
yuzu-ae09adfcb343f4ebf73a3a85a911422cbf50d6fc.tar.zst
yuzu-ae09adfcb343f4ebf73a3a85a911422cbf50d6fc.zip
Diffstat (limited to 'src/core/arm/dynarmic/arm_dynarmic.cpp')
-rw-r--r--src/core/arm/dynarmic/arm_dynarmic.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic.cpp b/src/core/arm/dynarmic/arm_dynarmic.cpp
index 3572ee7b9..4417c6da4 100644
--- a/src/core/arm/dynarmic/arm_dynarmic.cpp
+++ b/src/core/arm/dynarmic/arm_dynarmic.cpp
@@ -203,7 +203,6 @@ void ARM_Dynarmic::SaveContext(ARM_Interface::ThreadContext& ctx) {
ctx.cpsr = jit->GetPstate();
ctx.fpu_registers = jit->GetVectors();
ctx.fpscr = jit->GetFpcr();
- ctx.tls_address = cb->tpidrro_el0;
}
void ARM_Dynarmic::LoadContext(const ARM_Interface::ThreadContext& ctx) {
@@ -213,7 +212,6 @@ void ARM_Dynarmic::LoadContext(const ARM_Interface::ThreadContext& ctx) {
jit->SetPstate(static_cast<u32>(ctx.cpsr));
jit->SetVectors(ctx.fpu_registers);
jit->SetFpcr(static_cast<u32>(ctx.fpscr));
- cb->tpidrro_el0 = ctx.tls_address;
}
void ARM_Dynarmic::PrepareReschedule() {