Skip to content

Conversation

@JeffAlyanak
Copy link

Overview

The Lua API in Mesen2 has changed significantly, as documented here: LuaDocumentation.json

This PR will update the Lua to support Mesen2.

Notes

This is a draft and not yet ready to be pulled.

`cpu.status` also replaced with `cpu.ps` (processor status).
- `memType.cpuDebug` replaced with `memType.nesDebug`
- `memType.nesDebug` can't be used with `convertAddress`, so using
  `memType.nesMemory` instead
The `emu.step` function replaces the previous step functions and takes a
`stepType` (`emu.stepType.step`, `emu.stepType.stepOver`, etc).

Also removed the `onWhilePaused` and paused callback as there doesn't
appear to be any such event type.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant