summaryrefslogtreecommitdiff
path: root/src/core/arm/nce/patcher.cpp
diff options
context:
space:
mode:
authorGravatar Liam2023-11-28 14:30:39 -0500
committerGravatar Liam2023-12-04 10:37:16 -0500
commit45c87c7e6e841c11def43e5ab25160006dab6d77 (patch)
tree04a3ea0bd8c07389e17741aa28615e3b32ace2f7 /src/core/arm/nce/patcher.cpp
parentMerge pull request #12235 from liamwhite/flip-clip (diff)
downloadyuzu-45c87c7e6e841c11def43e5ab25160006dab6d77.tar.gz
yuzu-45c87c7e6e841c11def43e5ab25160006dab6d77.tar.xz
yuzu-45c87c7e6e841c11def43e5ab25160006dab6d77.zip
core: refactor emulated cpu core activation
Diffstat (limited to 'src/core/arm/nce/patcher.cpp')
-rw-r--r--src/core/arm/nce/patcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/arm/nce/patcher.cpp b/src/core/arm/nce/patcher.cpp
index ec8527224..f97b909df 100644
--- a/src/core/arm/nce/patcher.cpp
+++ b/src/core/arm/nce/patcher.cpp
@@ -278,7 +278,7 @@ void Patcher::WriteSvcTrampoline(ModuleDestLabel module_dest, u32 svc_id) {
278 278
279 // Store SVC number to execute when we return 279 // Store SVC number to execute when we return
280 c.MOV(X2, svc_id); 280 c.MOV(X2, svc_id);
281 c.STR(W2, X1, offsetof(GuestContext, svc_swi)); 281 c.STR(W2, X1, offsetof(GuestContext, svc));
282 282
283 // We are calling a SVC. Clear esr_el1 and return it. 283 // We are calling a SVC. Clear esr_el1 and return it.
284 static_assert(std::is_same_v<std::underlying_type_t<HaltReason>, u64>); 284 static_assert(std::is_same_v<std::underlying_type_t<HaltReason>, u64>);