mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-22 23:57:54 -05:00
Match MxDiskStreamProvider::SetResourceToGet
This commit is contained in:
parent
43efcc5253
commit
d23b4db2ff
1 changed files with 2 additions and 3 deletions
|
@ -59,10 +59,9 @@ MxResult MxDiskStreamProvider::SetResourceToGet(MxStreamController* p_resource)
|
|||
}
|
||||
|
||||
m_remainingWork = 1;
|
||||
MxResult success = m_busySemaphore.Init(0, 100);
|
||||
m_thread.StartWithTarget(this);
|
||||
m_busySemaphore.Init(0, 100);
|
||||
|
||||
if (success == SUCCESS && p_resource != NULL) {
|
||||
if (m_thread.StartWithTarget(this) == SUCCESS && p_resource != NULL) {
|
||||
result = SUCCESS;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue