Commit Graph

5 Commits

Author SHA1 Message Date
James Baicoianu
785e6f2fc9 Export soft_reset, hard_reset, exit, load, and save functions for Emscripten builds 2017-07-15 15:17:29 +10:00
James Baicoianu
15c2bb0c08 Fix save/load states in Emscripten build (#2470)
* Fix save/load states in Emscripten build
* Simplified Emscripten integration points
* Moved standalone JS functions to be static member functions of running_machine
* Improved Emscripten main loop
* Use convenience functions for cleaner code

As an added bonus, this now allows for proper shutdown of the running machine when running in the Emscripten environment - previously, attempts to exit the program were just being ignored.
2017-07-15 14:00:09 +10:00
James Baicoianu
af6ad75a04 Export SDL_SendKeyboardKey function to allow scancode injectiony 2016-05-05 00:55:38 -07:00
Justin Kerk
34ccb1ae66 Update function signatures for Emscripten (nw) 2016-04-26 05:29:56 +00:00
Miodrag Milanovic
bd0abfd004 moved emscripten resources (nw) 2016-04-03 17:19:41 +02:00