You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current build of emscripten doesn't accept the deprecated build-parameter "EXTRA_EXPORTED_RUNTIME_METHODS=['ccall']".
I tried to fix it by using "EXPORTED_RUNTIME_METHODS=ccall" instead, but this results in an error when loading roms:
Uncaught TypeError: gbaninja.ccall is not a function (index.html, line 589):
return gbaninja.ccall("VBA_start", "int", [], []);
Any idea how to fix this?
The text was updated successfully, but these errors were encountered:
@gizmotic
Probs way too late here but thought I'd offer a fix.
I swapped over the ccall flag to the updated one you mentioned, and fixed the init code to load the module correctly.
Explanation:
Changes in how some modules are loaded had made it would pull the module incorrectly (multiple times) and thus was left with the ready promise in the global object. Just made sure it would only set it once, and when it finished loading set the global object.
You can test it out from the pull request mentioned.
Cheers for pointing out that the exported flag had changed that saved me a bunch of time I would have wasted.
The current build of emscripten doesn't accept the deprecated build-parameter "EXTRA_EXPORTED_RUNTIME_METHODS=['ccall']".
I tried to fix it by using "EXPORTED_RUNTIME_METHODS=ccall" instead, but this results in an error when loading roms:
Uncaught TypeError: gbaninja.ccall is not a function (index.html, line 589):
return gbaninja.ccall("VBA_start", "int", [], []);
Any idea how to fix this?
The text was updated successfully, but these errors were encountered: