1
0
mirror of https://github.com/libretro/RetroArch synced 2025-02-22 21:40:40 +00:00
Joe Osborn 862bebf687
(Emscripten) Modularize the JavaScript and clean up the web build ()
* Increase emscripten stack size and decrease path size to fix emscripten builds broken since de45fc2

* use modularize flags for better-behaved javascript output

* makefile and loader changes

* use specialHTMLTargets to support modular access to canvas

* bind key events to canvas, not document

This way focus means focus and we can have multiple RA instances in
one page.

* Work around an emscripten bug in strict mode

* (Emscripten) Use console.error() for error messages

* increase asyncify stack size

* Fix `-lm` flag-related compile warnings in emscripten

---------

Co-authored-by: Rob Loach <robloach@gmail.com>
2023-11-02 13:25:50 -07:00
..
2019-02-03 16:00:50 -08:00