saveSRAM
Save the SRAM of the current running game.
0.12.0
const nostalgist = await Nostalgist.nes('zelda.nes')
// save the SRAMconst sram = await nostalgist.saveSRAM()
// launch with the SRAMawait nostalgist.nes({ rom: 'zelda.nes', sram,})
Returns
Section titled “Returns”-
type:
Blob
The SRAM of the current running game.