From eff482b0a51a4af8ec6d2c48bbf840559316ccba Mon Sep 17 00:00:00 2001 From: Misha <106913236+MishaProductions@users.noreply.github.com> Date: Mon, 25 Dec 2023 09:59:55 -0500 Subject: [PATCH] Update mxdiskstreamprovider.cpp --- LEGO1/mxdiskstreamprovider.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/LEGO1/mxdiskstreamprovider.cpp b/LEGO1/mxdiskstreamprovider.cpp index bba524a2..97d9946e 100644 --- a/LEGO1/mxdiskstreamprovider.cpp +++ b/LEGO1/mxdiskstreamprovider.cpp @@ -135,7 +135,7 @@ void MxDiskStreamProvider::PerformWork() MxDSStreamingAction* action; { MxAutoLocker lock(&m_criticalSection); - if (m_list.size() != 0 && !FUN_100d1af0((MxDSStreamingAction*)m_list.front())) { + if (m_list.size() != 0 && !FUN_100d1af0((MxDSStreamingAction*) m_list.front())) { MxThread::Sleep(500); m_busySemaphore.Release(1); return; @@ -145,7 +145,7 @@ void MxDiskStreamProvider::PerformWork() { MxAutoLocker lock(&m_criticalSection); if (m_list.size() != 0) { - action = (MxDSStreamingAction*)m_list.front(); + action = (MxDSStreamingAction*) m_list.front(); m_list.pop_front(); // TODO delete lock here (could be an line function) @@ -177,8 +177,7 @@ void MxDiskStreamProvider::PerformWork() } } - if (action) - { + if (action) { ((MxDiskStreamController*) m_pLookup)->FUN_100c8670(action); } MxThread::Sleep(0);