RetroArch/emscripten
Joe Osborn 862bebf687
(Emscripten) Modularize the JavaScript and clean up the web build (#15688)
* 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
..
library_errno_codes.js emscripten: add hack to prevent ERRNO_CODES from being optimized away 2019-08-07 22:07:09 -05:00
library_rwebaudio.js Fix RWebAudioInit race condition 2023-07-02 05:47:13 +02:00
library_rwebcam.js Clean up white space. 2019-02-03 16:00:50 -08:00
pre.js (Emscripten) Modularize the JavaScript and clean up the web build (#15688) 2023-11-02 13:25:50 -07:00
template.html emscripten: Use argument list for Module.print 2018-01-15 10:06:06 -05:00