Always reserve one thread for emulation.

This commit is contained in:
Christian Speckner 2019-02-21 00:31:03 +01:00
parent 8808f7b5e0
commit 092c32cda5
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ void AtariNTSC::enableThreading(bool enable)
}
else
{
systemThreads = std::min(4u, systemThreads);
systemThreads = std::max(1u, std::min(4u, systemThreads - 1));
myWorkerThreads = systemThreads - 1;
myTotalThreads = systemThreads;