diff options
Diffstat (limited to 'system/wine-staging/writecopy.patch')
-rw-r--r-- | system/wine-staging/writecopy.patch | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/system/wine-staging/writecopy.patch b/system/wine-staging/writecopy.patch deleted file mode 100644 index d067dccd92..0000000000 --- a/system/wine-staging/writecopy.patch +++ /dev/null @@ -1,18 +0,0 @@ -@@ -, +, @@ ---- - dlls/kernelbase/memory.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) ---- a/dlls/kernelbase/memory.c -+++ a/dlls/kernelbase/memory.c -@@ -481,7 +481,9 @@ BOOL WINAPI DECLSPEC_HOTPATCH VirtualLock( void *addr, SIZE_T size ) - */ - BOOL WINAPI DECLSPEC_HOTPATCH VirtualProtect( void *addr, SIZE_T size, DWORD new_prot, DWORD *old_prot ) - { -- return VirtualProtectEx( GetCurrentProcess(), addr, size, new_prot, old_prot ); -+ BOOL ret = VirtualProtectEx( GetCurrentProcess(), addr, size, new_prot, old_prot ); -+ if (*old_prot == PAGE_WRITECOPY) *old_prot = PAGE_READWRITE; -+ return ret; - } - - --- |