https://bugs.winehq.org/show_bug.cgi?id=48700
Paul Gofman gofmanp@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #66590|0 |1 is obsolete| |
--- Comment #14 from Paul Gofman gofmanp@gmail.com --- Created attachment 66602 --> https://bugs.winehq.org/attachment.cgi?id=66602 POC patch
(In reply to mo78 from comment #13)
/usr/bin/ld: heap.o: in function `RtlFreeHeap': /home/mozo/wine64/dlls/ntdll/../../../wine-git/dlls/ntdll/heap.c:1783: undefined reference to `leave_critical_section'
Yes, sorry, you are building tmainstream Wine (which is ok) but my patch was based on top of Staging, and I missed that there is the difference.
I am attaching updated version which should compile ok with both mainstream and Staging. Since I was already there I changed this terrible hack a bit in a way that it looks even more terrible now but should not introduce a memory leak, just delay the freeing of small pointers, so it is supposingly usable to workaround the issue in this game. I still strongly discourage anyone from including this hack in any more or less universal build. I tested that it still fixes the issue for me at least in character creation screen and probably at the very beginning of the game (but not sure about the beginning as the character is in helmet there).