https://bugs.winehq.org/show_bug.cgi?id=44246
--- Comment #9 from Adrien Fernandes adrien_fernandes2@hotmail.com --- So, I gave it a try.
I modified libs/wine/mmap.c
In line 426 :
char *user_space_limit = (char *)0x7ffe0000;
In
char *user_space_limit = (char *)0xbffe0000;
Now, Call of Duty can be run in highest setting without crash and here's what "top" says me while the game is running.
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 1233 Adrien2002 11 85 0 2521M 1223M CPU4 4 2:16 242,00% wine
It is ~900M lower than before. I don't understand why it works. I can understand now the game isn't crashing anymore but why it can run with almost 1G less or why it was running with 1G more, before the modification of mmap.c ?
Can that "fix" cause issue in graphics compared to GNU/Linux's Wine ?