summaryrefslogtreecommitdiffstats
path: root/src/core/arm/dynarmic
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-07-21 20:38:16 +0200
committerGitHub <noreply@github.com>2018-07-21 20:38:16 +0200
commitde7cb91995666db7c469feab7bfe90be2156173d (patch)
tree5009c848fbc5d75c3612387564ac41267e19d96f /src/core/arm/dynarmic
parentMerge pull request #756 from lioncash/dynarmic (diff)
parentarm_interface: Remove unused tls_address member of ThreadContext (diff)
downloadyuzu-de7cb91995666db7c469feab7bfe90be2156173d.tar
yuzu-de7cb91995666db7c469feab7bfe90be2156173d.tar.gz
yuzu-de7cb91995666db7c469feab7bfe90be2156173d.tar.bz2
yuzu-de7cb91995666db7c469feab7bfe90be2156173d.tar.lz
yuzu-de7cb91995666db7c469feab7bfe90be2156173d.tar.xz
yuzu-de7cb91995666db7c469feab7bfe90be2156173d.tar.zst
yuzu-de7cb91995666db7c469feab7bfe90be2156173d.zip
Diffstat (limited to 'src/core/arm/dynarmic')
-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 df47d5ee8..5d7efc9b6 100644
--- a/src/core/arm/dynarmic/arm_dynarmic.cpp
+++ b/src/core/arm/dynarmic/arm_dynarmic.cpp
@@ -211,7 +211,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) {
@@ -221,7 +220,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() {