CVS: winex/memory virtual.c,1.36,1.37
[email protected] 31 Jul 2007 19:43:48 -0000
| Newsgroups | gmane.comp.emulators.winex.cvs |
|---|---|
| Message-ID | <[email protected]> |
Subject: winex/memory virtual.c,1.36,1.37Update of /var/lib/cvsd/cvsroot/winex/memory
In directory agravaine:/tmp/cvs-serv32271/memory
Modified Files:
virtual.c
Log Message:
- fix AllocationBase of VirtualQuery to return proper permissions
Index: virtual.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/memory/virtual.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- virtual.c 28 Mar 2007 17:53:29 -0000 1.36
+++ virtual.c 31 Jul 2007 19:43:46 -0000 1.37
@@ -1747,7 +1747,7 @@
VIRTUAL_GetWin32Prot( vprot, &info->Protect, &info->State );
for (size = base - alloc_base; size < view->size; size += page_mask+1)
if (view->prot[size >> page_shift] != vprot) break;
- info->AllocationProtect = view->protect;
+ VIRTUAL_GetWin32Prot (view->protect, &info->AllocationProtect, NULL);
info->Type = MEM_PRIVATE; /* FIXME */
}