mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
added even more definitions
This commit is contained in:
@@ -2,8 +2,10 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
// 0x10101e78
|
||||
int g_useMutex = 0;
|
||||
|
||||
// OFFSET: LEGO1 0x100b6d20
|
||||
MxCriticalSection::MxCriticalSection()
|
||||
{
|
||||
HANDLE mutex;
|
||||
@@ -19,6 +21,7 @@ MxCriticalSection::MxCriticalSection()
|
||||
this->m_mutex = NULL;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100b6d60
|
||||
MxCriticalSection::~MxCriticalSection()
|
||||
{
|
||||
if (this->m_mutex != NULL)
|
||||
@@ -30,11 +33,13 @@ MxCriticalSection::~MxCriticalSection()
|
||||
DeleteCriticalSection(&this->m_criticalSection);
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100b6e00
|
||||
void MxCriticalSection::SetDoMutex()
|
||||
{
|
||||
g_useMutex = 1;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100b6d80
|
||||
void MxCriticalSection::Enter()
|
||||
{
|
||||
DWORD result;
|
||||
@@ -61,6 +66,7 @@ void MxCriticalSection::Enter()
|
||||
}
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100b6de0
|
||||
void MxCriticalSection::Leave()
|
||||
{
|
||||
if (this->m_mutex != NULL)
|
||||
@@ -70,4 +76,4 @@ void MxCriticalSection::Leave()
|
||||
}
|
||||
|
||||
LeaveCriticalSection(&this->m_criticalSection);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user