mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-26 00:34:45 +02:00
Common: Allow threadpool size up to 16.
In Config, we allow 16, so this just matches that.
This commit is contained in:
@@ -88,9 +88,9 @@ ThreadPool::ThreadPool(int numThreads) {
|
||||
if (numThreads <= 0) {
|
||||
numThreads_ = 1;
|
||||
INFO_LOG(JIT, "ThreadPool: Bad number of threads %d", numThreads);
|
||||
} else if (numThreads > 8) {
|
||||
INFO_LOG(JIT, "ThreadPool: Capping number of threads to 8 (was %d)", numThreads);
|
||||
numThreads_ = 8;
|
||||
} else if (numThreads > 16) {
|
||||
INFO_LOG(JIT, "ThreadPool: Capping number of threads to 16 (was %d)", numThreads);
|
||||
numThreads_ = 16;
|
||||
} else {
|
||||
numThreads_ = numThreads;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user