From 3c660f7f16470f5e59cbeb98a3b799a21c79abf0 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sun, 27 Feb 2022 19:18:23 +0800 Subject: [DYNAREC] And more multi-arch work --- src/emu/x64run.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') 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; } } -- cgit 1.4.1