saveSRAM
Save the SRAM of the current running game.
Since
0.12.0
Usage
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
-
sram
type:
Blob
The SRAM of the current running game.