Persist the selected EmulatorJS core per-game and fall back to the
per-platform default when a game has no saved core. The per-platform
key is still written so it acts as the default for new games on that
platform.
Closes#2042
Generated-By: PostHog Code
Task-Id: 6cc47d8f-2bb8-4424-ba58-e595fe947444