Beta match MxThread and MxSemaphore (#1644)

This commit is contained in:
MS
2025-07-20 21:58:16 -04:00
committed by GitHub
parent 2980f88bb0
commit 4edd8d1214
5 changed files with 82 additions and 13 deletions

View File

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