Commit Graph

136 Commits

Author SHA1 Message Date
Ethan O'Brien
ae9cd11583 Add intv 2026-01-03 18:44:29 -06:00
Mikhail Vazhnov
5680535946
Fix Sega Genesis control scheme (#1124) (#1125) 2025-10-30 20:14:23 -05:00
Joe Thundercheeks
dfe9498bcd
Fix Issue #1039 (Save state text is inconsistent) (#1116)
* fix psx control mapping showing defaults

* fix psx mappings being incorrect

* fix psx thingy

* Fix Issue #1039

* Add files via upload
2025-10-20 16:07:46 -05:00
Joe Thundercheeks
5fdaaff215
Fix Issue #1112 (PSX Control Labels Are Incorrect) (#1115)
* fix psx control mapping showing defaults

* fix psx mappings being incorrect

* fix psx thingy
2025-10-20 07:03:50 -05:00
Ethan O'Brien
8c750dde40
Add beta bootup batch file 2025-10-19 19:40:38 -05:00
Ethan O'Brien
18e3a4c3a1
Redo start name detection 2025-10-19 17:19:46 -05:00
Ethan O'Brien
91e8d6bb31
Add bsnes/genesisplusgxwide 2025-10-19 16:49:58 -05:00
duanyu5871
c0480f888d
beforeunload event listener update (#1107)
* beforeunload update

* Rename to EJS_disableAutoUnload

* Remove value from index.html since undefined is a falsy value

---------

Co-authored-by: Ethan O'Brien <ethan.a.obrien@gmail.com>
Co-authored-by: Ethan O'Brien <77750390+ethanaobrien@users.noreply.github.com>
2025-10-15 20:50:09 -05:00
cryptonaus
8eab8f6936
Support a fixed save flushing interval (#1095)
Co-authored-by: cryptonaus <cryptonaus>
2025-09-18 08:09:07 -05:00
cryptonaus
ca6c0a9870
Add event for when a game save is updated (#1094)
* Add event for when a game save is updated

* Replace SHA-1 with Cyrb53

---------

Co-authored-by: cryptonaus <cryptonaus>
2025-09-18 08:08:45 -05:00
Michael Green
ad9586d266
Fix screenshot return in EJS_onSaveState (#1092)
* Fixed bug where a screenshot wasn't returned using EJS_onSaveState

* Refactor takeScreenshot method to return a promise with screenshot data and format; update input element in HTML for better accessibility.
2025-09-16 08:14:01 -05:00
Ethan O'Brien
7197fc9c73 Network errors should be thrown 2025-08-27 11:47:12 -05:00
S-Coding
23337cf2db
Added netplay over WebRTC (#1053)
* Added netplay over WebRTC

* feat(netplay): Implement WebRTC and address PR feedback

* Prevent emulator loop from running on clients

* fixed formatting and changed IceServers to ICEServers

* refactor: Update loader.js

* Refactor: Overhaul netplay for better 4-player support and use config encapsulation

* Cleanup

* Cleanup

* Add newline

* Fixed message focus, added joined and left messages, hid unnecessary buttons

* Cleaned up functions bind.this, netplay button reorganization, number of players selector fix

* Added TURN server detection and warning

* cleanup

---------

Co-authored-by: S-Coding23 <>
Co-authored-by: Ethan O'Brien <ethan.a.obrien@gmail.com>
2025-08-23 21:58:00 -06:00
daguile
e4feb3c6ec
Improve multi-disc handling for dosbox-pure (#1064)
* do not extract zip file for dosbox

* Added DOSBOX as an option to index.html

* remove second initialization

* let the website decide if rom needs to be extracted

---------

Co-authored-by: Michael Green <84688932+michael-j-green@users.noreply.github.com>
2025-08-20 18:39:27 -05:00
daguile
a0f4db7610
fix silly error (#1063) 2025-08-18 08:09:06 -05:00
daguile
5bf17873d1
handle subfolders in path (#1059) 2025-08-16 12:40:23 -05:00
Ethan O'Brien
756990bdd1
Redo saves 2025-08-07 09:09:26 -05:00
Michael Green
0f9954a976
Fix for context menu (#1045)
* Fix for context menu

* Formatting fix

* Refined EJS_browserMode

* Moved browserMode from loader.js into emulator.js

* Revert loader.js to original

* Change single quotes to double quotes

* Removal of EJS_browserMode from emulator.js

* Show desktop mode messages only if debug is true.

* Block changes to all but the visible property of the contextMenu
2025-07-12 20:32:41 -06:00
Michael Green
e77610e890
Fix for broken custom buttons (#1042)
* Fix for broken custom buttons

* Removed non-standard formatting

* Removed non-standard formatting

* Removed non-standard formatting
2025-07-06 22:02:59 -05:00
Ethan O'Brien
e150dc0491
4.2.3 2025-07-05 14:34:10 -05:00
Ethan O'Brien
f679b265e9
Add sizes to parent element 2025-07-05 00:19:05 -05:00
Ethan O'Brien
c7d6a49fdb
Playing with canvas sizes 2025-07-04 22:33:46 -05:00
incredibleIdea
505f11bc86
Style: replace some string concatenation with template literal (#1040) 2025-07-04 22:26:43 -05:00
Ethan O'Brien
b0601b6226
Remove canvas resize call as this is now handled by the backend 2025-07-02 22:47:04 -05:00
incredibleIdea
84a1fc13d7
Localization and logging fix (#1038)
* Fix logging issue when text's length is 0 && Modify console context

* Modify zh-CN localization

* add file .gitattributes
2025-07-02 22:05:39 -05:00
Allan Niles
cfe6ada74c
Fix Error Screen (#1005)
* fix error screen

* error messages

* center error text

* new line

* fix some error messages

* "Network Error"

* Remove "Check console"

* change css

* better shadow

* newline

* add text shadow

* use `ejs_error_text` class

* make text more readable

* fix border-radius
2025-06-24 21:34:45 -05:00
Michael Green
75ff025ad3
Resolve issue with invalid button names (#1035) 2025-06-24 21:33:47 -05:00
Allan Niles
88d4a05615
Capture Overhaul (#1011)
* screenshot

* newline

* nice screenshots

* screenShot function

* Screen Record

* takeScreenshot

* retroarch if 0

* change to this.capture

* normalize "

* no no

* no no again

* use `this.settings`

* newline and fix merge

* Quality to Upscale

* fix settings call

* add checkForEmptyMenu
2025-06-18 08:46:30 -06:00
Ethan O'Brien
a796c4a386
4.2.2 2025-06-14 15:47:31 -05:00
Ethan O'Brien
0131c16ab5
Rework access of this.settings, don't call simulateInput for keyboard if keyboard mode enabled 2025-06-10 21:36:40 -05:00
Ethan O'Brien
e3977bc7fe
Fix axis inputs for extra axis 2025-06-09 22:26:57 -05:00
Ethan O'Brien
977dd04a0a
Resolve #1018 2025-06-09 10:48:06 -05:00
Ethan O'Brien
60e6ab3277
Cleanup famicom controls 2025-06-09 10:32:16 -05:00
Ethan O'Brien
b5a05d1ee5
Check default options when getting core settings 2025-06-09 10:24:37 -05:00
Ethan O'Brien
02e6b271fd
Properly return an empty string 2025-06-07 10:51:24 -05:00
Ethan O'Brien
6389dfbfb9
Add option to disable alt key 2025-06-06 23:27:18 -05:00
Ethan O'Brien
9c8ae86d1e
Write settings to the core settings file before loading the core 2025-06-06 23:08:53 -05:00
Ethan O'Brien
3b835d5f25
Properly handle failed save states 2025-06-06 21:53:03 -05:00
Ethan O'Brien
43e9d26a29
Fix gamepad dropdown text not being centered 2025-06-05 12:26:53 -05:00
Ethan O'Brien
bd20ae9029
Cleanup consistency with about menu tabs 2025-06-05 12:14:38 -05:00
Ethan O'Brien
317b2542d4
Fix root settings in options menu 2025-06-05 11:44:33 -05:00
Ethan O'Brien
acaf5253a6
Fix other popup menus 2025-06-04 23:17:26 -05:00
Ethan O'Brien
c847c91edb
Add ability to enable/disable mouse lock 2025-06-04 10:12:50 -05:00
Ethan O'Brien
1d8e572f11
Check core opts for useKeyboard 2025-06-04 00:04:58 -05:00
Ethan O'Brien
8a306a7a63
Fix keyboardInput default option 2025-06-03 23:56:14 -05:00
Ethan O'Brien
ecd96f8238
Correct usage of defaultCoreOpts in setupSettingsMenu 2025-06-03 23:33:45 -05:00
Ethan O'Brien
0bd9707a4b
Update copyright date 2025-06-03 23:23:21 -05:00
Ethan O'Brien
db31a03224
Cleanup about menu css 2025-06-03 23:22:46 -05:00
Ethan O'Brien
c22e5ff14c
Redo settings menu scrolling 2025-06-03 23:10:53 -05:00
Ethan O'Brien
f8b09feb9f
Check for beta when fetching from cdn 2025-06-03 22:11:45 -05:00