https://bugs.winehq.org/show_bug.cgi?id=28254
--- Comment #12 from Rafał Harabień rafalh92@outlook.com --- Still present in Wine 4.0-rc4. It makes MTA: San Andreas unplayable... I made alternative patch in Bug 46401. When compared to Sebastian Lackner patch, my version expects to always change protection for 2 pages, newer 3. I guess it's a bit wrong because IMAGE_BASE_RELOCATION::VirtualAddress does not have to be page aligned... Patch from this issue is in Wine Staging repo but is disabled and is not rebased (the code is not in winedevice module anymore) so there's not way to play games requiring it for now I guess. Sebastian Lackner, what you mean by "Please note that it doesn't fix all problems, and even this patch is probably not good enough to get upstream"? I could rebase it/merge with my patch and try to get upsteam but I don't get why it doesnt fix all problems. It should fix the problem with relocations on page boundary.