diff --git a/src/hooks/LoadingLayer.cpp b/src/hooks/LoadingLayer.cpp index 5fa8607..b18019b 100644 --- a/src/hooks/LoadingLayer.cpp +++ b/src/hooks/LoadingLayer.cpp @@ -151,7 +151,7 @@ static CCBMFontConfiguration* loadFontConfiguration(const char* name) { #include class $modify(MyLoadingLayer, LoadingLayer) { struct Fields { - asp::ThreadPool threadPool{20}; + asp::ThreadPool threadPool{std::thread::hardware_concurrency()}; bool finishedLoading = false; std::chrono::high_resolution_clock::time_point startedLoadingGame; std::chrono::high_resolution_clock::time_point startedLoadingAssets;