mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 17:04:17 +00:00
Adjustments to "decomp" language
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
|
||||
#include "mxsemaphore.h"
|
||||
|
||||
// OFFSET: LEGO1 0x100c87d0
|
||||
// FUNCTION: LEGO1 0x100c87d0
|
||||
MxSemaphore::MxSemaphore()
|
||||
{
|
||||
m_hSemaphore = NULL;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100c8800
|
||||
// FUNCTION: LEGO1 0x100c8800
|
||||
MxResult MxSemaphore::Init(MxU32 p_initialCount, MxU32 p_maxCount)
|
||||
{
|
||||
MxResult result = FAILURE;
|
||||
@@ -16,13 +16,13 @@ MxResult MxSemaphore::Init(MxU32 p_initialCount, MxU32 p_maxCount)
|
||||
return result;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100c8830
|
||||
// FUNCTION: LEGO1 0x100c8830
|
||||
void MxSemaphore::Wait(MxU32 p_timeoutMS)
|
||||
{
|
||||
WaitForSingleObject(m_hSemaphore, p_timeoutMS);
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100c8850
|
||||
// FUNCTION: LEGO1 0x100c8850
|
||||
void MxSemaphore::Release(MxU32 p_releaseCount)
|
||||
{
|
||||
ReleaseSemaphore(m_hSemaphore, p_releaseCount, NULL);
|
||||
|
||||
Reference in New Issue
Block a user