diff options
| author | 2023-12-06 14:19:17 +0100 | |
|---|---|---|
| committer | 2023-12-06 14:19:17 +0100 | |
| commit | 8a79dd2d6c6445bff63ea1f2f5f1611a6afcd97a (patch) | |
| tree | 265bf3c7970a570479c6a3ac1250549995f0329c /src/core/arm/nce/patcher.cpp | |
| parent | Merge pull request #12271 from liamwhite/pretext-fix (diff) | |
| parent | arm: fix context save of vector regs (diff) | |
| download | yuzu-8a79dd2d6c6445bff63ea1f2f5f1611a6afcd97a.tar.gz yuzu-8a79dd2d6c6445bff63ea1f2f5f1611a6afcd97a.tar.xz yuzu-8a79dd2d6c6445bff63ea1f2f5f1611a6afcd97a.zip | |
Merge pull request #12236 from liamwhite/cpu-refactor
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 bdaa3af49..47a7a8880 100644 --- a/src/core/arm/nce/patcher.cpp +++ b/src/core/arm/nce/patcher.cpp | |||
| @@ -280,7 +280,7 @@ void Patcher::WriteSvcTrampoline(ModuleDestLabel module_dest, u32 svc_id) { | |||
| 280 | 280 | ||
| 281 | // Store SVC number to execute when we return | 281 | // Store SVC number to execute when we return |
| 282 | c.MOV(X2, svc_id); | 282 | c.MOV(X2, svc_id); |
| 283 | c.STR(W2, X1, offsetof(GuestContext, svc_swi)); | 283 | c.STR(W2, X1, offsetof(GuestContext, svc)); |
| 284 | 284 | ||
| 285 | // We are calling a SVC. Clear esr_el1 and return it. | 285 | // We are calling a SVC. Clear esr_el1 and return it. |
| 286 | static_assert(std::is_same_v<std::underlying_type_t<HaltReason>, u64>); | 286 | static_assert(std::is_same_v<std::underlying_type_t<HaltReason>, u64>); |