Mesen-SX
Mesen-SX copied to clipboard
Rewrite Breakpoints API
- We have only
SetBreakpoints
exported function. NoClear
,AddOne
,DelOne
etc. - API cannot be used outside of the project (in C, for example), because it accepts a class objects array. It's better to pass some structure.
-
Breakpoint
class has no constructor to create aBreakpoint
object from required parameters. -
Breakpoint
class uses_id
field which have to be controlled by some external "manager". - No API to get BPs list.
Fixed 4 and 3. 3rd has been fixed via making fields public. 2nd seems to be ok, and doesn't require to be fixed.