Skip to content

getEmscriptenModule

Get the Emscripten Module object of the current running emulator.

See Module object for more information.

Usage

const nostalgist = await Nostalgist.nes('flappybird.nes')
const Module = nostalgist.getEmscriptenModule()
Module._cmd_take_screenshot()