Skip to content

saveSRAM

Save the SRAM of the current running game.

0.12.0

const nostalgist = await Nostalgist.nes('zelda.nes')
// save the SRAM
const sram = await nostalgist.saveSRAM()
// launch with the SRAM
await nostalgist.nes({
rom: 'zelda.nes',
sram,
})