Begin work on Event System for js_wasm32 target

This commit is contained in:
gingerBill
2022-05-09 16:58:34 +01:00
parent 253ecd55a0
commit 6f1cc3946b
7 changed files with 877 additions and 253 deletions
+1
View File
@@ -32,6 +32,7 @@ const runWasm = async (wasm_path, webglCanvasElement, consoleElement) => {
const file = await response.arrayBuffer();
const wasm = await WebAssembly.instantiate(file, imports);
const exports = wasm.instance.exports;
wasmMemoryInterface.setExports(exports);
wasmMemoryInterface.setMemory(exports.memory);
exports._start();