mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-27 10:24:18 +00:00
Style refactor omni/system components (#974)
* Style refactor omni/system components * Fix * Fix
This commit is contained in:
committed by
GitHub
parent
ac41854149
commit
76435d803f
@@ -15,9 +15,11 @@ MxSemaphore::MxSemaphore()
|
||||
MxResult MxSemaphore::Init(MxU32 p_initialCount, MxU32 p_maxCount)
|
||||
{
|
||||
MxResult result = FAILURE;
|
||||
|
||||
if ((m_hSemaphore = CreateSemaphoreA(NULL, p_initialCount, p_maxCount, NULL))) {
|
||||
result = SUCCESS;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user