Adjustments to "decomp" language

This commit is contained in:
Christian Semmler
2023-11-28 09:00:57 -05:00
parent 3d48cdede1
commit 1ba3b7f0a7
394 changed files with 1946 additions and 1944 deletions

View File

@@ -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);