about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-02-27 19:18:23 +0800
committerptitSeb <sebastien.chev@gmail.com>2022-02-27 19:18:23 +0800
commit3c660f7f16470f5e59cbeb98a3b799a21c79abf0 (patch)
tree0a8510f412e092668071a6f400c0519fad191725 /src
parent2f1024f16763165db359e7c30ad7034a4434d752 (diff)
downloadbox64-3c660f7f16470f5e59cbeb98a3b799a21c79abf0.tar.gz
box64-3c660f7f16470f5e59cbeb98a3b799a21c79abf0.zip
[DYNAREC] And more multi-arch work
Diffstat (limited to 'src')
-rwxr-xr-xsrc/emu/x64run.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/emu/x64run.c b/src/emu/x64run.c
index 57238f86..032ef9dd 100755
--- a/src/emu/x64run.c
+++ b/src/emu/x64run.c
@@ -413,8 +413,8 @@ x64emurun:
                 EB->byte[0] = tmp8u;
             } else {
                 do {
-                    tmp8u = arm64_lock_read_b(EB);
-                } while(arm64_lock_write_b(EB, GB));
+                    tmp8u = native_lock_read_b(EB);
+                } while(native_lock_write_b(EB, GB));
                 GB = tmp8u;
             }
             // dynarec use need it's own mecanism
@@ -447,11 +447,11 @@ x64emurun:
                 }
             } else {
                 if(rex.w) {
-                    GD->q[0] = arm64_lock_xchg(ED, GD->q[0]);
+                    GD->q[0] = native_lock_xchg(ED, GD->q[0]);
                 } else {
                     do {
-                        tmp32u = arm64_lock_read_d(ED);
-                    } while(arm64_lock_write_d(ED, GD->dword[0]));
+                        tmp32u = native_lock_read_d(ED);
+                    } while(native_lock_write_d(ED, GD->dword[0]));
                     GD->q[0] = tmp32u;
                 }
             }