Skip to content

Commit

Permalink
Removed the export WINEFSYNC=0 at start, use BOX86_FUTEX_WAITV=0 to d…
Browse files Browse the repository at this point in the history
…isable instead
  • Loading branch information
ptitSeb committed May 14, 2024
1 parent f5f1e14 commit 9320450
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/emu/x86syscall.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 0 additions & 4 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 9320450

Please sign in to comment.