From 1081141eb289671246b0213c3a30e543ae03ae4e Mon Sep 17 00:00:00 2001 From: PatrickvL Date: Sun, 1 Jan 2017 15:04:28 +0100 Subject: [PATCH] Removed obsolete VirtualProtect OOVPA --- src/CxbxKrnl/EmuXapi.h | 11 ----------- src/CxbxKrnl/HLEDataBase/Xapi.1.0.4627.inl | 14 -------------- 2 files changed, 25 deletions(-) diff --git a/src/CxbxKrnl/EmuXapi.h b/src/CxbxKrnl/EmuXapi.h index 188678aca..63db097f8 100644 --- a/src/CxbxKrnl/EmuXapi.h +++ b/src/CxbxKrnl/EmuXapi.h @@ -650,17 +650,6 @@ DWORD WINAPI EmuGetFileAttributesA LPCSTR lpFileName // name of file or directory ); -// ****************************************************************** -// * func: EmuVirtualProtect -// ****************************************************************** -BOOL WINAPI EmuVirtualProtect -( - LPVOID lpAddress, // region of committed pages - SIZE_T dwSize, // size of the region - DWORD flNewProtect, // desired access protection - PDWORD lpflOldProtect // old protection -); - // ****************************************************************** // * func: EmulstrcmpiW // ****************************************************************** diff --git a/src/CxbxKrnl/HLEDataBase/Xapi.1.0.4627.inl b/src/CxbxKrnl/HLEDataBase/Xapi.1.0.4627.inl index 048d9a9cb..6e4e58126 100644 --- a/src/CxbxKrnl/HLEDataBase/Xapi.1.0.4627.inl +++ b/src/CxbxKrnl/HLEDataBase/Xapi.1.0.4627.inl @@ -561,20 +561,6 @@ OOVPA_NO_XREF(RaiseException_1_0_4627, 7) OOVPA_END; -// ****************************************************************** -// * VirtualProtect -// ****************************************************************** -OOVPA_NO_XREF(VirtualProtect_1_0_4627, 7) // XREF_VirtualProtect - - { 0x04, 0x8D }, - { 0x0A, 0x24 }, - { 0x10, 0x10 }, - { 0x18, 0x85 }, - { 0x1C, 0x33 }, - { 0x22, 0xE8 }, - { 0x28, 0xC0 }, -OOVPA_END; - // ****************************************************************** // * CreateSemaphoreA // ******************************************************************