Commit 8445773c authored by Alexandre Julliard's avatar Alexandre Julliard

kernel: Don't require execute permission for DOS memory, this will be

done in winedos if necessary.
parent 1d0ec411
......@@ -99,7 +99,7 @@ BOOL load_winedos(void)
/* ok, we're the winning thread */
if (!VirtualProtect( DOSMEM_dosmem + DOSMEM_protect,
DOSMEM_SIZE - DOSMEM_protect,
PAGE_EXECUTE_READWRITE, NULL ) ||
PAGE_READWRITE, NULL ) ||
!(hModule = LoadLibraryA( "winedos.dll" )))
{
ERR("Could not load winedos.dll, DOS subsystem unavailable\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment