gdi32: Don't let the gdi32 driver allocate memory in the dplayx region.

Alexei Svitkine alexei.svitkine at gmail.com
Mon Jul 22 21:45:22 CDT 2013


Don't let the gdi32 driver allocate memory in the dplayx region.

Fixes bug: http://bugs.winehq.org/show_bug.cgi?id=34095

The issue is that the dplayx code in wine needs to allocate some
memory at a static address (0x50000000) and loading the Mac native gdi
driver ends up using that part of the address space.

This patch fixes that by reserving that part of memory while the
display driver is initialized and releasing it after.

---
 dlls/gdi32/driver.c | 10 ++++++++++
 1 file changed, 10 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Don-t-let-the-gdi32-driver-allocate-memory-in-the-dpla.txt
Type: text/x-patch
Size: 1310 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20130722/20fe2d31/attachment.bin>


More information about the wine-devel mailing list