mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 17:04:17 +00:00
Beta match MxThread and MxSemaphore (#1644)
This commit is contained in:
@@ -161,10 +161,11 @@ void MxDiskStreamProvider::VTable0x20(MxDSAction* p_action)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100d1750
|
||||
// FUNCTION: BETA10 0x101632b8
|
||||
MxResult MxDiskStreamProvider::WaitForWorkToComplete()
|
||||
{
|
||||
while (m_remainingWork) {
|
||||
m_busySemaphore.Wait(INFINITE);
|
||||
m_busySemaphore.Acquire(INFINITE);
|
||||
if (m_unk0x35) {
|
||||
PerformWork();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user