mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
InputSystem: change mutex types
Use SDK's CThreadMutex, which is the actual underlying mutex type used for this class.
This commit is contained in:
parent
8c3daa4fe6
commit
ceeaddb2e1
@ -100,13 +100,13 @@ private:
|
||||
InputState_t m_InputState[INPUT_STATE_COUNT];
|
||||
|
||||
// Current button state mutex
|
||||
CRITICAL_SECTION m_InputStateMutex;
|
||||
CThreadMutex m_InputStateMutex;
|
||||
int unknown0;
|
||||
short unknown1;
|
||||
bool unknown2;
|
||||
|
||||
// Analog event mutex
|
||||
CRITICAL_SECTION m_AnalogEventMutex;
|
||||
CThreadMutex m_AnalogEventMutex;
|
||||
int unknown3;
|
||||
short unknown4;
|
||||
bool unknown5;
|
||||
@ -141,7 +141,7 @@ private:
|
||||
|
||||
// Raw mouse input
|
||||
bool m_bRawInputSupported;
|
||||
CRITICAL_SECTION m_MouseAccumMutex;
|
||||
CThreadMutex m_MouseAccumMutex;
|
||||
int m_mouseRawAccumX;
|
||||
int m_mouseRawAccumY;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user