diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-02-05 09:48:07 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-02-05 09:48:07 +0100 |
| commit | 93b4813ee2ce9faca4355efcf835004a107908d7 (patch) | |
| tree | 9222ef32cde29c58ac11fdb7934835fb2983a02b /src | |
| parent | 7cbe71c2188498adb43c1bcaf42d196b032a1940 (diff) | |
| download | box64-93b4813ee2ce9faca4355efcf835004a107908d7.tar.gz box64-93b4813ee2ce9faca4355efcf835004a107908d7.zip | |
Remove memory location test for traping wine syscall, box64 doesn't need that
Diffstat (limited to 'src')
| -rw-r--r-- | src/emu/x64syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/x64syscall.c b/src/emu/x64syscall.c index e35532dd..7cb4f934 100644 --- a/src/emu/x64syscall.c +++ b/src/emu/x64syscall.c @@ -441,7 +441,7 @@ void EXPORT x64Syscall(x64emu_t *emu) if(box64_wine && !box64_is32bits) { //64bits only here... uintptr_t ret_addr = R_RIP-2; - if(ret_addr<0x700000000000LL && (my_context->signals[SIGSYS]>2) && !FindElfAddress(my_context, ret_addr)) { + if(/*ret_addr<0x700000000000LL &&*/ (my_context->signals[SIGSYS]>2) && !FindElfAddress(my_context, ret_addr)) { // not a linux elf, not a syscall to setup x86_64 arch. Signal SIGSYS emit_signal(emu, SIGSYS, (void*)ret_addr, R_EAX&0xffff); // what are the parameters? return; |