pj64team / Project64-Legacy

Finishing what we started.
81 stars 7 forks source link

Improve CPU trapping for watchpoints #3

Closed parasyte closed 2 years ago

parasyte commented 2 years ago

Block the CPU thread when a watchpoint is hit. This moves the blocking to just before the memory access happens. Allows removing the gross hacks that changed CPU interpreter flow control.

Removes unnecessary double-watchpoint checks in LD and SD instructions.