Created
February 21, 2012 14:02
-
-
Save israelfaria/1876708 to your computer and use it in GitHub Desktop.
Patch wine to work with Subspace Continuum
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c | |
index c392d3e..82aab57 100644 | |
--- a/dlls/kernel32/process.c | |
+++ b/dlls/kernel32/process.c | |
@@ -2770,6 +2770,7 @@ HANDLE WINAPI OpenProcess( DWORD access, BOOL inherit, DWORD id ) | |
OBJECT_ATTRIBUTES attr; | |
CLIENT_ID cid; | |
+ if (access & PROCESS_VM_WRITE) return NULL; | |
cid.UniqueProcess = ULongToHandle(id); | |
cid.UniqueThread = 0; /* FIXME ? */ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment