Fix typo in core mapping from 'zsx' to 'zxs'

The EJS core mapping in frontend/src/utils/index.ts keyed the ZX
Spectrum entry as zsx instead of the canonical platform slug zxs (as defined by UniversalPlatformSlug.ZXS in backend/handler/metadata/base_handler.py).

Renaming the key to zxs restores in-browser play for ZX Spectrum.
This commit is contained in:
Roberto Romero
2026-07-02 10:18:27 +00:00
committed by GitHub
parent f90ba3b2a5
commit abdc446ff2

View File

@@ -531,7 +531,7 @@ const _EJS_CORES_MAP: Record<string, string[]> = {
wonderswan: ["mednafen_wswan"],
swancrystal: ["mednafen_wswan"],
"wonderswan-color": ["mednafen_wswan"],
zsx: ["fuse"],
zxs: ["fuse"],
} as const;
// TODO: Merge with _EJS_CORES_MAP next emukatorjs release (post 4.2.3)