Mesen-SX icon indicating copy to clipboard operation
Mesen-SX copied to clipboard

Rewrite Breakpoints API

Open lab313ru opened this issue 4 years ago • 1 comments

  1. We have only SetBreakpoints exported function. No Clear, AddOne, DelOne etc.
  2. 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.
  3. Breakpoint class has no constructor to create a Breakpoint object from required parameters.
  4. Breakpoint class uses _id field which have to be controlled by some external "manager".
  5. No API to get BPs list.

lab313ru avatar Oct 12 '20 16:10 lab313ru

Fixed 4 and 3. 3rd has been fixed via making fields public. 2nd seems to be ok, and doesn't require to be fixed.

lab313ru avatar Oct 28 '20 23:10 lab313ru