mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 23:47:42 +00:00
Ensure directories are created late in extract
This commit is contained in:
@@ -72,6 +72,7 @@ bool CDvdFile::m_WorkerRun = false;
|
||||
std::vector<std::shared_ptr<IDvdRequest>> CDvdFile::m_RequestQueue;
|
||||
void CDvdFile::WorkerProc()
|
||||
{
|
||||
logvisor::RegisterThreadName("CDvdFile Thread");
|
||||
while (m_WorkerRun)
|
||||
{
|
||||
std::unique_lock<std::mutex> lk(CDvdFile::m_WorkerMutex);
|
||||
@@ -87,6 +88,7 @@ void CDvdFile::WorkerProc()
|
||||
concreteReq.DoRequest();
|
||||
}
|
||||
waitlk.unlock();
|
||||
swapQueue.clear();
|
||||
lk.lock();
|
||||
}
|
||||
if (!m_WorkerRun)
|
||||
|
||||
Reference in New Issue
Block a user