Skip to content

getEmscriptenModule

Get the Emscripten Module object of the currently running emulator.

See Module object in the Emscripten documentation for more information.

Usage

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