diff options
| author | Liam <byteslice@airmail.cc> | 2023-11-28 14:30:39 -0500 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2023-12-04 10:37:16 -0500 |
| commit | 3d5c6a73cba80a58363a59ece4cd60c101d8b516 (patch) | |
| tree | 04a3ea0bd8c07389e17741aa28615e3b32ace2f7 /src/core/arm/nce/patcher.cpp | |
| parent | a92e0194a23590c284530fc0693c472f7138c1b6 (diff) | |
core: refactor emulated cpu core activation
Diffstat (limited to 'src/core/arm/nce/patcher.cpp')
| -rw-r--r-- | src/core/arm/nce/patcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/arm/nce/patcher.cpp b/src/core/arm/nce/patcher.cpp index ec8527224a..f97b909df7 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) { // Store SVC number to execute when we return c.MOV(X2, svc_id); - c.STR(W2, X1, offsetof(GuestContext, svc_swi)); + c.STR(W2, X1, offsetof(GuestContext, svc)); // We are calling a SVC. Clear esr_el1 and return it. static_assert(std::is_same_v<std::underlying_type_t<HaltReason>, u64>); |
