From a4420eb2380ea4650682ecd0272dbac53845f51c Mon Sep 17 00:00:00 2001 From: PatrickvL Date: Sun, 1 Jan 2017 01:35:37 +0100 Subject: [PATCH] Removed patch on EmuPulseEvent as NtPulseEvent is all that's needed for it. --- src/CxbxKrnl/EmuXapi.cpp | 18 ------------------ src/CxbxKrnl/EmuXapi.h | 5 ----- src/CxbxKrnl/HLEDataBase/Xapi.1.0.3911.inl | 2 -- 3 files changed, 25 deletions(-) diff --git a/src/CxbxKrnl/EmuXapi.cpp b/src/CxbxKrnl/EmuXapi.cpp index 3ff9b16d5..bc4f8e90a 100644 --- a/src/CxbxKrnl/EmuXapi.cpp +++ b/src/CxbxKrnl/EmuXapi.cpp @@ -1111,24 +1111,6 @@ DWORD WINAPI XTL::EmuSignalObjectAndWait RETURN(dwRet); } -// ****************************************************************** -// * func: EmuPulseEvent -// ****************************************************************** -BOOL WINAPI XTL::EmuPulseEvent -( - HANDLE hEvent -) -{ - LOG_FUNC_ONE_ARG(hEvent); - - // TODO: This function might be a bit too high level. If it is, - // feel free to implement NtPulseEvent in EmuKrnl.cpp - - BOOL bRet = PulseEvent( hEvent ); - - RETURN(bRet); -} - // ****************************************************************** // * func: timeSetEvent // ****************************************************************** diff --git a/src/CxbxKrnl/EmuXapi.h b/src/CxbxKrnl/EmuXapi.h index 99c9de0ef..ed5098786 100644 --- a/src/CxbxKrnl/EmuXapi.h +++ b/src/CxbxKrnl/EmuXapi.h @@ -670,11 +670,6 @@ DWORD WINAPI EmuSignalObjectAndWait BOOL bAlertable ); -// ****************************************************************** -// * func: EmuPulseEvent -// ****************************************************************** -BOOL WINAPI EmuPulseEvent( HANDLE hEvent ); - // ****************************************************************** // * func: EmuCreateSemaphore // ****************************************************************** diff --git a/src/CxbxKrnl/HLEDataBase/Xapi.1.0.3911.inl b/src/CxbxKrnl/HLEDataBase/Xapi.1.0.3911.inl index e8184305c..fe8f5567d 100644 --- a/src/CxbxKrnl/HLEDataBase/Xapi.1.0.3911.inl +++ b/src/CxbxKrnl/HLEDataBase/Xapi.1.0.3911.inl @@ -1219,8 +1219,6 @@ OOVPATable XAPI_1_0_3911[] = { OOVPA_TABLE_PATCH(XInputGetCapabilities_1_0_3911, XTL::EmuXInputGetCapabilities), // SignalObjectAndWait OOVPA_TABLE_PATCH(SignalObjectAndWait_1_0_3911, XTL::EmuSignalObjectAndWait), - // PulseEvent - OOVPA_TABLE_PATCH(PulseEvent_1_0_3911, XTL::EmuPulseEvent), // QueueUserAPC OOVPA_TABLE_PATCH(QueueUserAPC_1_0_3911, XTL::EmuQueueUserAPC), // lstrcmpiW