mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
Add an `emulatorjs.default_cores` block mapping a platform slug to the core the player preselects for it, so an instance can run DS software on DeSmuME and DSi software on melonDS without every user picking a core on every device. The player resolves its core from the game's remembered core, then the platform's, then the configured default, then the platform's first supported core. Each candidate is checked against the cores the platform actually supports, so an unknown platform or core falls through. Playing no longer writes the resolved core back to local storage unless the user picked a different one, so changing the configured default reaches devices that never made a choice. Closes #4434 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>