Add a basic context menu to the state list.

This allows us to toggle breakpoints on specific commands.
This commit is contained in:
Unknown W. Brackets committed 2016-05-21 18:32:15 -07:00
1 parent 916c53c859
commit 2cfe80ccc0
6 files changed
+90 -15

No files matched your search

+8
View File
@@ -233,6 +233,14 @@ bool IsRenderTargetBreakpoint(u32 addr) {
return breakRenderTargets.find(addr) != breakRenderTargets.end();
}
bool IsOpBreakpoint(u32 op, bool &temp) {
return IsCmdBreakpoint(op >> 24, temp);
}
bool IsOpBreakpoint(u32 op) {
return IsCmdBreakpoint(op >> 24);
}
bool IsCmdBreakpoint(u8 cmd, bool &temp) {
temp = breakCmdsTemp[cmd];
return breakCmds[cmd];