loadState
Load a state for the current running emulator and game.
const nostalgist = await Nostalgist.nes('flappybird.nes')
// save the stateconst { state } = await nostalgist.saveState()
// load the stateawait nostalgist.loadState(state)
Arguments
Section titled “Arguments”-
type:
resolvable file
The state file to be loaded.