zezaocapoeira

wine-memory.patch

Sep 24th, 2016
171
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff -rupN wine-1.9.19-original/dlls/ntdll/virtual.c wine-1.9.19-patched/dlls/ntdll/virtual.c
  2. --- wine-1.9.19-original/dlls/ntdll/virtual.c 2016-09-16 12:14:20.000000000 -0300
  3. +++ wine-1.9.19-patched/dlls/ntdll/virtual.c 2016-09-23 21:03:53.807861095 -0300
  4. @@ -144,7 +144,7 @@ static const BOOL is_win64 = (sizeof(voi
  5. #define VIRTUAL_DEBUG_DUMP_VIEW(view) \
  6. do { if (TRACE_ON(virtual)) VIRTUAL_DumpView(view); } while (0)
  7.  
  8. -#define VIRTUAL_HEAP_SIZE (sizeof(void*)*1024*1024)
  9. +#define VIRTUAL_HEAP_SIZE (sizeof(void*)*1024*1024*4)
  10.  
  11. static HANDLE virtual_heap;
  12. static void *preload_reserve_start;
RAW Paste Data