mirror of https://github.com/stella-emu/stella.git
Always reserve one thread for emulation.
This commit is contained in:
parent
8808f7b5e0
commit
092c32cda5
|
@ -77,7 +77,7 @@ void AtariNTSC::enableThreading(bool enable)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
systemThreads = std::min(4u, systemThreads);
|
systemThreads = std::max(1u, std::min(4u, systemThreads - 1));
|
||||||
|
|
||||||
myWorkerThreads = systemThreads - 1;
|
myWorkerThreads = systemThreads - 1;
|
||||||
myTotalThreads = systemThreads;
|
myTotalThreads = systemThreads;
|
||||||
|
|
Loading…
Reference in New Issue