diff --git a/src/yuzu_cmd/CMakeLists.txt b/src/yuzu_cmd/CMakeLists.txt index ef2e22c5a0..cf1604293a 100644 --- a/src/yuzu_cmd/CMakeLists.txt +++ b/src/yuzu_cmd/CMakeLists.txt @@ -77,8 +77,9 @@ if (NOT MSVC) endif() if (PLATFORM_EMSCRIPTEN) + # 10GB is required... yikes! target_link_options(yuzu-cmd PRIVATE - -sINITIAL_MEMORY=33554432 + -sINITIAL_MEMORY=10737418240 -sGLOBAL_BASE=16777216 -sPTHREAD_POOL_SIZE_STRICT=0 -sPTHREAD_POOL_SIZE=navigator.hardwareConcurrency)