diff options
| author | Louis <35883445+louist103@users.noreply.github.com> | 2023-10-22 11:37:36 -0400 |
|---|---|---|
| committer | Louis <35883445+louist103@users.noreply.github.com> | 2023-10-22 11:37:36 -0400 |
| commit | cc8bd2fd01672446bb2f4613f402f2310f5ce62d (patch) | |
| tree | 2b654661000be9e039055b2f2826ff6b0e1dfc5d /ZAPD/Main.cpp | |
| parent | 3d8a9c1efe15ad84bfca78a5a08a02489d8ed98c (diff) | |
Fixes for MM
Diffstat (limited to 'ZAPD/Main.cpp')
| -rw-r--r-- | ZAPD/Main.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ZAPD/Main.cpp b/ZAPD/Main.cpp index a388087..f5fc1f7 100644 --- a/ZAPD/Main.cpp +++ b/ZAPD/Main.cpp @@ -68,6 +68,9 @@ ZVtx vtx(nullptr); #include "ZRoom/ZRoom.h" ZRoom room(nullptr); + +#include "ZPointer.h" +ZPointer pointer(nullptr); // Linker Hacks End #include "ZFile.h" @@ -600,7 +603,7 @@ int HandleExtract(ZFileMode fileMode, ExporterSet* exporterSet) auto start = std::chrono::steady_clock::now(); int fileListSize = fileList.size(); - Globals::Instance->singleThreaded = false; + Globals::Instance->singleThreaded = true; for (int i = 0; i < fileListSize; i++) Globals::Instance->workerData[i] = new FileWorker(); |
