arianrhodsandlot / nostalgist

A JavaScript library used for running emulators of retro consoles inside browsers.
https://nostalgist.js.org
MIT License
643 stars 17 forks source link

When I already have a key, for example: input_user1_up:'w', how can I change the key to make the game work directly without having to start again #32

Closed Perfect-l closed 4 weeks ago

Perfect-l commented 2 months ago

nostalgist = await Nostalgist.launch({ rom: data.rom, core: 'fceumm', state, resolveCoreJs(core, options) { return fceumm_libretro.js }, resolveCoreWasm(core, options) { return fceumm_libretro.wasm }, element: canvasRef.value, retroarchConfig: data.retroarchConfig, })

arianrhodsandlot commented 2 months ago

For now we do not support updating retroarch config while the emulator is running. I'm not sure if this can be done with the official retroarch emscripten build, and I'm going to do some research recently. But it maybe hard to achieve.

arianrhodsandlot commented 1 month ago

This seems to be impossible while using the official build of RetroArch... unfortunately.