2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:07:42 +00:00

Updates for new ANIM extract

This commit is contained in:
Jack Andersen
2016-04-06 17:38:37 -10:00
parent f7826ad7ec
commit 761be432be
7 changed files with 118 additions and 6 deletions

View File

@@ -82,7 +82,11 @@ void ClientProcess::Worker::proc()
ClientProcess::ClientProcess(int verbosityLevel)
: m_verbosity(verbosityLevel)
{
#ifdef NDEBUG
int cpuCount = GetCPUCount();
#else
constexpr int cpuCount = 1;
#endif
m_workers.reserve(cpuCount);
for (int i=0 ; i<cpuCount ; ++i)
m_workers.emplace_back(*this);