mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 15:37:55 -05:00
319b52f248
Also clarify .exe on script because Wine cares about that
16 lines
380 B
C++
16 lines
380 B
C++
#include "mxautolocker.h"
|
|
|
|
// OFFSET: LEGO1 0x100b8ed0
|
|
MxAutoLocker::MxAutoLocker(MxCriticalSection *critsect)
|
|
{
|
|
this->m_criticalSection = critsect;
|
|
if (this->m_criticalSection != 0)
|
|
this->m_criticalSection->Enter();
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x100b8ef0
|
|
MxAutoLocker::~MxAutoLocker()
|
|
{
|
|
if (this->m_criticalSection != 0)
|
|
this->m_criticalSection->Leave();
|
|
}
|