Skip to content

saveSRAM

Save the SRAM of the current running game.

Since

0.12.0

Usage

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,
})

Returns

  • sram

    type: Blob

    The SRAM of the current running game.