diff --git a/Adventures in Lestoria/Version.h b/Adventures in Lestoria/Version.h index 23625c67..77f06001 100644 --- a/Adventures in Lestoria/Version.h +++ b/Adventures in Lestoria/Version.h @@ -39,7 +39,7 @@ All rights reserved. #define VERSION_MAJOR 1 #define VERSION_MINOR 2 #define VERSION_PATCH 3 -#define VERSION_BUILD 10901 +#define VERSION_BUILD 10910 #define stringify(a) stringify_(a) #define stringify_(a) #a diff --git a/CMakeLists.txt b/CMakeLists.txt index 577ab50d..d5b71ab2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,7 @@ project("Adventures in Lestoria") if (EMSCRIPTEN) add_compile_options("-s" "USE_FREETYPE=1") + add_compile_options("-pthread") endif() add_compile_options("-O2") @@ -308,6 +309,8 @@ if (EMSCRIPTEN) -sFETCH=1 -sEXPORTED_RUNTIME_METHODS=stringToNewUTF8 -std=c++2a + -pthread + -sPTHREAD_POOL_SIZE=navigator.hardwareConcurrency --proxy-to-worker --preload-file ${SOURCE_DATA_EMSCRIPTEN_DIR}@assets) else() diff --git a/x64/Release/Adventures in Lestoria.exe b/x64/Release/Adventures in Lestoria.exe index 1eafd0c8..6390299b 100644 Binary files a/x64/Release/Adventures in Lestoria.exe and b/x64/Release/Adventures in Lestoria.exe differ