Skip to content

Update emdata servers#2

Open
sojs-coder wants to merge 342 commits into
sojs-coder:mainfrom
EmulatorJS:main
Open

Update emdata servers#2
sojs-coder wants to merge 342 commits into
sojs-coder:mainfrom
EmulatorJS:main

Conversation

@sojs-coder

Copy link
Copy Markdown
Owner

No description provided.

@allancoding
allancoding force-pushed the main branch 2 times, most recently from 21cf477 to ff9ea4c Compare March 12, 2025 03:35
ethanaobrien and others added 30 commits May 11, 2026 21:07
feat: add controller port device type selector
Fixes for extracting archives handled by cores and fix for EJS_loadStateURL
…tplay-cheats-fix

# Conflicts:
#	data/src/emulator.js
Blockers:
- Fix netplay button: call this.netplay.openMenu() instead of the
  removed this.openNetplayMenu() method.
- Reset updateList in leaveRoom so subsequent room entries re-run
  defineNetplayFunctions and re-hook Module.postMainLoop. Without
  this, only the first room of a session syncs host inputs.

Cleanups responsive to prior review:
- Restore .ejs_button_button primary background and 2-space indent
  on .netplay-hidden / .option-enabled / .ejs_netplay_warning to
  match main; restore two commented-out CSS blocks the PR removed.
- Revert unrelated setShader reformatting (writeFile multilines,
  Array.isArray check).
- Replace duplicate _guid in netplay.js with the guid export from
  utils.js.
- Replace raw fetch with this.downloadFile in the cheats menu so
  cheat JSON goes through the project's downloader.
- Expose isMenuCreated()/isMenuOpen() on Netplay and use them from
  emulator.js instead of poking at netplay._menuElement.
- URL-encode getOpenRooms params via URLSearchParams.
- Stop the room-list poll on roomJoined.
- Gate noisy host/guest console.log paths through a debug-only
  _dlog helper.
- Simplify the redundant updateList check.
…ats-fix

S coding23 final netplay cheats fix
`GamepadHandler` emits `gamepad.index`, but `emulator.js` was treating that value as an array position in `this.gamepad.gamepads`. In Chromium, `navigator.getGamepads()` can use sparse indexes, so this could resolve to undefined and crash on `.id`.

This change looks up gamepads by their actual index instead of array position, and applies the same fix to the `connected`, `disconnected`, and `gamepadEvent` paths.

Result: gamepad handling works consistently across Chromium, Safari, and Firefox.
Fix missing line breaks and text in zh.json file
Fix gamepad lookup when browser gamepad index is sparse
The dedicated psx control scheme (pcsx_rearmed, mednafen_psx_hw) stopped
at L2/R2 and skipped L3/R3 (stick-click, button ids 14/15). These are
supported by the cores and required by DualShock-era games such as Ape
Escape. This restores the v4.2.3 behavior, where PSX fell through to the
generic block that included L3/R3.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Fix resume prompt detection on iPadOS Safari
Add L3/R3 to psx control settings menu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.