Skip to content

loadState

Load a state for the current running emulator and game.

Usage

const nostalgist = await Nostalgist.nes('flappybird.nes')
// save the state
const { state } = await nostalgist.saveState()
// load the state
await nostalgist.loadState(state)

Arguments