diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-02-27 19:18:23 +0800 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2022-02-27 19:18:23 +0800 |
| commit | 3c660f7f16470f5e59cbeb98a3b799a21c79abf0 (patch) | |
| tree | 0a8510f412e092668071a6f400c0519fad191725 /src | |
| parent | 2f1024f16763165db359e7c30ad7034a4434d752 (diff) | |
| download | box64-3c660f7f16470f5e59cbeb98a3b799a21c79abf0.tar.gz box64-3c660f7f16470f5e59cbeb98a3b799a21c79abf0.zip | |
[DYNAREC] And more multi-arch work
Diffstat (limited to 'src')
| -rwxr-xr-x | src/emu/x64run.c | 10 |
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; } } |