[HTML5] GDNative support via SIDE_MODULE.

Working, with emscripten > 2.0.9
Yes, the unreleased version. 2.0.9 works, but throws and error due to a
bug in emscripten with the thirdparty ENet library.
The issue is fixed upstream so newer releases will work.
This commit is contained in:
Fabio Alessandrelli 2020-10-24 16:02:09 +02:00
parent 8ebb52fad6
commit 4d1ebaad0f
8 changed files with 109 additions and 33 deletions

View file

@ -8,6 +8,8 @@ const Utils = { // eslint-disable-line no-unused-vars
return `${execName}.audio.worklet.js`;
} else if (path.endsWith('.js')) {
return `${execName}.js`;
} else if (path.endsWith('.side.wasm')) {
return `${execName}.side.wasm`;
} else if (path.endsWith('.wasm')) {
return `${execName}.wasm`;
}