about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dynarec/rv64/dynarec_rv64_dd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dynarec/rv64/dynarec_rv64_dd.c b/src/dynarec/rv64/dynarec_rv64_dd.c
index 0c926106..d3d06c6f 100644
--- a/src/dynarec/rv64/dynarec_rv64_dd.c
+++ b/src/dynarec/rv64/dynarec_rv64_dd.c
@@ -180,6 +180,7 @@ uintptr_t dynarec64_DD(dynarec_rv64_t* dyn, uintptr_t addr, uintptr_t ip, int ni
                 AND(x3, x3, x5);          // mask out TOP
                 SLLI(x2, x2, 11);         // shift TOP to bit 11
                 OR(x3, x3, x2);           // inject TOP
+                SH(x3, xEmu, offsetof(x64emu_t, sw));
                 SH(x3, ed, fixedaddress); // store whole sw flags
                 break;
             default: