mirror of
https://github.com/ptitSeb/box86.git
synced 2024-11-27 03:44:40 +08:00
Removed the export WINEFSYNC=0 at start, use BOX86_FUTEX_WAITV=0 to disable instead
This commit is contained in:
parent
f5f1e1413d
commit
932045054f
@ -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;
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user