mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-27 01:45:37 -05:00
bc5ca621a4
* Add ncc tool * Add symlink * Fixes * Try this * Try this * Try this * Try this * Add include path * Update style * Update style * Add more rules * Fix style * Update styles * Fix name parameter * Fix MxParam p * Fix m_unk0x pattern * Allow 4 digits for relative hex * Add missing offset * Fix some parameters * Fix some vtables * Fix more vtables * Update rules, fixes * More fixes * More fixes * More fixes * More fixes * More fixes * More fixes * More fixes * Fix last issue * Update readme * Update readme * Update CONTRIBUTING.md * Fix annotations * Rename * Update CONTRIBUTING.md * Update README.md
16 lines
379 B
C++
16 lines
379 B
C++
#include "mxautolocker.h"
|
|
|
|
// FUNCTION: LEGO1 0x100b8ed0
|
|
MxAutoLocker::MxAutoLocker(MxCriticalSection* p_criticalSection)
|
|
{
|
|
this->m_criticalSection = p_criticalSection;
|
|
if (this->m_criticalSection != 0)
|
|
this->m_criticalSection->Enter();
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x100b8ef0
|
|
MxAutoLocker::~MxAutoLocker()
|
|
{
|
|
if (this->m_criticalSection != 0)
|
|
this->m_criticalSection->Leave();
|
|
}
|