mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-12 05:50:29 +02:00
Debugger: Reorganize state handling.
Looking like this will be needed for disasm caches, etc.
This commit is contained in:
1 parent
0a21063525
commit
a4044fd6a0
4 files changed
+40
-8
No files matched your search
@@ -22,6 +22,15 @@
|
||||
#include "Core/MIPS/MIPS.h"
|
||||
#include "Core/MIPS/MIPSDebugInterface.h"
|
||||
|
||||
void *WebSocketCPUCoreInit(DebuggerEventHandlerMap &map) {
|
||||
// No need to bind or alloc state, these are all global.
|
||||
map["cpu.getAllRegs"] = &WebSocketCPUGetAllRegs;
|
||||
map["cpu.getReg"] = &WebSocketCPUGetReg;
|
||||
map["cpu.setReg"] = &WebSocketCPUSetReg;
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
static std::string RegValueAsFloat(uint32_t u) {
|
||||
union {
|
||||
uint32_t u;
|
||||
|
||||
Reference in new issue
Block a user