Removed the export WINEFSYNC=0 at start, use BOX86_FUTEX_WAITV=0 to disable instead

This commit is contained in:
ptitSeb 2024-05-14 16:15:47 +02:00
parent f5f1e1413d
commit 932045054f
2 changed files with 1 additions and 5 deletions

View File

@ -770,7 +770,7 @@ void EXPORT x86Syscall(x86emu_t *emu)
case 449:
#ifdef __NR_futex_waitv
if(box86_futex_waitv)
S_EAX = syscall(R_EBX, R_ECX, R_EDX, R_ESI, R_EDI);
S_EAX = syscall(__NR_futex_waitv, R_EBX, R_ECX, R_EDX, R_ESI, R_EDI);
else
#endif
S_EAX = -ENOSYS;

View File

@ -1412,10 +1412,6 @@ int main(int argc, const char **argv, char **env)
if(!strcmp(prog, "wineserver") || (strlen(prog)>9 && !strcmp(prog+strlen(prog)-strlen("/wineserver"), "/wineserver"))) {
box86_wine = 1;
}
if(box86_wine) {
// disabling the use of futex_waitv for now
setenv("WINEFSYNC", "0", 1);
}
// Create a new context
my_context = NewBox86Context(argc - nextarg);