Skip to content

resize

Resize the canvas element used by the emulator.

const nostalgist = await Nostalgist.nes('flappybird.nes')
// Resize to 800x600
await nostalgist.resize({ height: 600, width: 800 })