Debugger: Refactor to allow simpler broadcasting.

It's okay to mix a bit for simple ones, I think.
This commit is contained in:
Unknown W. Brackets committed 2018-09-01 10:15:22 -07:00
1 parent c10b2035b5
commit 4ce2b64ef7
16 files changed
+46 -51

No files matched your search

@@ -23,7 +23,7 @@
#include "Core/Debugger/WebSocket/WebSocketUtils.h"
#include "Core/MIPS/MIPSDebugInterface.h"
void *WebSocketBreakpointInit(DebuggerEventHandlerMap &map) {
DebuggerSubscriber *WebSocketBreakpointInit(DebuggerEventHandlerMap &map) {
// No need to bind or alloc state, these are all global.
map["cpu.breakpoint.add"] = &WebSocketCPUBreakpointAdd;
map["cpu.breakpoint.update"] = &WebSocketCPUBreakpointUpdate;