Davidobot / love.js

LÖVE ported to the web using Emscripten, updated to the latest Emscripten and LÖVE (v11.5)
MIT License
605 stars 27 forks source link

Emscription Build - Missing getMemory #56

Open alexjgriffith opened 2 years ago

alexjgriffith commented 2 years ago

Looks like getMemory is no longer part of the Emscripten API - Discussion.

It's used in processPackageData@game.js

To get the build to work without rewriting game.js you can install and activate an older version of emsdk, Anything pre 2.0.3 should work (I tested 2.0.0)

./emsdk install 2.0.0
./emsdk activate 2.0.0

In the future, perhaps we could see about rewriting game.js?