Skip to content

Commit

Permalink
Increase Emscripten memory limit from 16MB to 32MB
Browse files Browse the repository at this point in the history
  • Loading branch information
balintkissdev committed Mar 3, 2022
1 parent e59a902 commit fac11ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ if(EMSCRIPTEN)
)
target_link_options(${PROJECT_NAME} PRIVATE
"SHELL: -s USE_SDL=2"
"SHELL: -s INITIAL_MEMORY=33554432"
--preload-file "resources"
--shell-file "${PROJECT_SOURCE_DIR}/src/shell_minimal.html"
)
Expand Down

0 comments on commit fac11ac

Please sign in to comment.