Open abl opened 10 years ago
Hmm...not sure what that's about. I've found that some things require --typed-arrays 0 or 1 (which only differ in their behavior with floats), like proper support for packed structures (--typed-arrays 2 currently enforces alignment), but other things randomly fail with --typed-arrays 0 or 1 (SDL drawing seems a bit iffy, for example, and anything that violates load-store consistency will have issues).
I've been able to use 0 or 1, but I've been compiling to a separate js file and sourcing that in the HTML. I've found that makes it easier to debug issues in the compiled js.
Probably of interest to @mwylde
--typed-arrays 0
: passing this causes file load to die horribly:Workaround is to use
--embed-file
not--preload-file
but that's a bit of a hack.Not sure why this is required / what it does?