Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
Increase memory to 32mb and allow to grow to 512mb
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanlangston committed Nov 29, 2023
1 parent 64de3a6 commit 5f8c5c4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Build_raylib.zig
Original file line number Diff line number Diff line change
Expand Up @@ -233,11 +233,10 @@ pub fn linkWithEmscripten(
"--js-library=src/Zig-JS_Bridge.js",
"-sWASM=1",
"-sALLOW_MEMORY_GROWTH=1",
"-sWASM_MEM_MAX=16MB",
"-sTOTAL_MEMORY=16MB",
"-sWASM_MEM_MAX=512MB",
"-sTOTAL_MEMORY=32MB",
"-sABORTING_MALLOC=0",
"-sASSERTIONS",
"-sALLOW_MEMORY_GROWTH",
});
return emcc_command;
}
Expand Down

0 comments on commit 5f8c5c4

Please sign in to comment.