Commit Graph
307 Commits
Author SHA1 Message Date
Daniel Brooks ed86e523d4 clean up indentation, semicolons 2023-07-15 13:29:04 -07:00
Daniel Brooks c33632e1f8 Merge in support for the v86 emulator 2023-07-15 13:04:45 -07:00
Daniel Brooks db41ddfc49 clean up indentation, braces, semicolons 2023-07-15 11:50:01 -07:00
Daniel Brooks 5f6367e022 Add CloudPilot support
I think someone at IA added this, but I have no idea who.
2023-07-15 11:45:28 -07:00
nosamu b279c628eb Update Ruffle support 2023-06-16 19:41:37 -05:00
Adrian Siekierka df39294e0e v86: improvements 2022-10-30 15:54:03 +01:00
Adrian Siekierka d40efe891c v86: improvements 2022-10-30 15:51:49 +01:00
Adrian Siekierka 69353eba40 v86: improvements 2022-10-30 13:57:33 +01:00
Adrian Siekierka 808f7b698d v86: add logo 2022-10-30 12:09:56 +01:00
Adrian Siekierka c891ce30fa v86: fixes 2022-10-30 11:11:05 +01:00
Adrian Siekierka 4fd4b5f788 preliminary v86 support 2022-10-30 10:51:32 +01:00
Daniel Brooks d6547c5799 IndexedDB is now used as a cache for game files
Emularity had been storing downloaded game files into the IndexedDB,
but if the file was already present then it would download it again
and overwrite it. Now it will skip the download if the file exists.

At present this only applies to files downloaded using the “saveFile”
method, not the “mountZip” method. The “mountZip” method doesn’t save
the zip file anywhere, so no caching is currently done.

Potentially this could cause you problems if a file gets corrupted or
edited, and reloading the page won’t fix it. Emularity doesn‘t provide
a UI for diagnosing or fixing such problems at present, so you may
want to implement some way to flush the IndexedDB containing the
filesystem.
2022-01-04 00:22:55 -08:00
James Baicoianu c66ae61f12 Write emulator files to MountableFS not OverlayFS 2021-12-31 14:26:21 -08:00
Daniel Brooks 05390a4c91 Actually set the storeName option for real this time
Sgeo noticed that I did it wrong. Thanks!
2020-10-27 18:41:56 -07:00
Daniel Brooks 3b56360354 set the storeName for IndexedDB correctly
This prevents files from one game from showing up in others.
2020-10-27 14:49:53 -07:00
Daniel Brooks b22c2349b6 remove a few accidentally-duplicated lines of code 2020-10-27 14:13:49 -07:00
Daniel Brooks c2bafd0287 load CHD files for MAME items loaded from IA 2020-10-27 13:53:19 -07:00
Daniel Brooks 8014b7c259 Merge branch 'RuffleSupport' 2020-10-27 13:51:36 -07:00
Daniel Brooks 10cef14845 a few minor bug fixes, and some cleanup and polish improvements
closes #71
2020-10-27 13:50:08 -07:00
Daniel BrooksandGitHub 799ea8ea12 Merge pull request #68 from shaneriley/updates-fullscreen-handling
Updates fullscreen handling and BrowserFS
2020-10-27 19:53:39 +00:00
Guy 58fbae8637 Fix Mount point in ruffle example 2020-08-31 16:44:35 +10:00
Guy 485f9c87b3 Ruffle Support 2020-08-31 16:16:54 +10:00
Shane Riley a05258f40f Updates BrowserFS 2020-06-30 12:10:12 -04:00
Shane Riley 2ef79d131f Simplifies fullscreen for emulated items 2020-06-30 12:03:20 -04:00
Daniel Brooks aaf75f5838 for MAME, put the extraArgs before the args for peripherals
Some arguments that you might put in extraArgs will add or remove
peripherals, and attempting to use those newly added peripherals
silently fails if we try to use them before they've been added.
2020-01-24 02:42:40 -08:00
Daniel Brooks e7fca84120 Clean up the code for fullscreen support 2020-01-24 02:42:07 -08:00
Daniel Brooks 6414a302be a little refactor to avoid using let 2019-11-18 12:06:12 -08:00
Daniel Brooks 4426cb0a32 -autoboot_command needs an escaped newline at the end 2019-11-17 22:58:00 -08:00
Daniel Brooks fc0d2a5e80 add an autoboot option for MAMELoader, and make IA's emulator_start metadata use it 2019-11-17 22:29:19 -08:00
Daniel Brooks 6403db035e fix the mute/unmute button for MAME
Fixes MAMERunner's mute/unmute functions, and starts MAME with the
volume turned down instead of with no sound emulation at all when the
mute cookie is set.
2019-08-03 06:43:04 -07:00
Daniel Brooks 8ad749e9e7 deprecate Emulator.setScale in favor of BaseLoader.setScale 2019-07-15 08:34:07 -07:00
Daniel Brooks e4388d12fa fix scaling at least for MAME
Turns out that a program that uses emscripten's SDL port to create a
"window" (by calling SDL_CreateWindow) gets exactly the canvas size
that they requested, and emscripten actually resets the canvas back to
this size on certain events (such as window resize).

This means that the application must request the scaled size, or
explictly resize the canvas using a different API. Since MAME accepts a
-resolution command-line argument, I can at least make it request a
window of the scaled size. It's not as efficient as letting the
browser scale the window, but it works.
2019-07-14 13:00:03 -07:00
Daniel Brooks ddb1c28e15 remove stray debugging print 2019-03-19 17:31:56 -07:00
Daniel Brooks e2808c7006 support loading np2, xmil, and vmac items from IA 2019-02-10 20:42:58 -08:00
Daniel Brooks 2729449d94 clean up the indentation 2019-02-02 03:15:13 -08:00
Pengan Zhou 2b32762967 Add mini vMac and Mini vMac II example with NP2Loader 2019-01-29 23:25:16 -08:00
Pengan Zhou ee73ead2bc Add examples for X Millennium and Neko Project II 2019-01-29 23:10:14 -08:00
Pengan Zhou 39a075f9dd NP2Loader for Neko Project II 2019-01-29 19:28:35 -08:00
Daniel BrooksandGitHub 7ce9158793 Merge pull request #53 from algestam/vice-doc-fix
Small doc fix in the Vice example
2018-11-27 02:43:11 -08:00
Henrik Algestam 67c17883a6 Small doc fix in the Vice example 2018-11-27 11:31:39 +01:00
Daniel BrooksandGitHub 1ff6deb1c6 Merge pull request #47 from pengan1987/master
Fix PC98DosBoxLoader default mount behavior problem
2018-10-23 13:01:00 -07:00
Pengan Zhou 644ed28d1c Make PC98DosBoxLoader compatible with drive_type 2018-10-21 16:53:24 -07:00
Daniel BrooksandGitHub 0828c5ba4a Merge pull request #48 from Sgeo/patch-2
Support vice.conf
2018-10-19 19:19:04 -07:00
SgeoandGitHub 4ed4c48f0d Support vice.conf 2018-10-18 22:28:18 -04:00
Daniel Brooks 91a3a6cba9 Merge branch 'pengan1987-master' 2018-10-11 09:48:39 -07:00
Daniel Brooks 5e9d3e4759 IALoader can easily use PCE's new extra_args support too 2018-10-11 09:48:21 -07:00
Daniel Brooks f0fe992c29 clean up the grammar and presentation of the explanatory comment somewhat 2018-10-11 09:47:41 -07:00
Daniel Brooks 8f195d41ff avoid default arguments for backwards compatibility 2018-10-11 09:27:37 -07:00
Pengan Zhou fcdeeb5245 Add extraArgs support for PCE and PCE IBM PC example 2018-10-10 23:17:48 -07:00
seedgou 145b70f19c fix dosbox mount img
see also https://www.dosbox.com/wiki/MOUNT#Mounting_an_ISO-File_as_volume
2018-10-10 20:13:24 +08:00