mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 21:46:23 +02:00
Reporting: Disable when debugger methods used.
This won't catch all means of hacking memory, but will catch some. Trying to reduce noise in reporting from debugging.
This commit is contained in:
1 parent
fc2e3f3db5
commit
1233d1d376
11 files changed
+43
-6
No files matched your search
@@ -29,6 +29,7 @@
|
||||
#include "Core/MemMap.h"
|
||||
#include "Core/MIPS/MIPSAsm.h"
|
||||
#include "Core/MIPS/MIPSDebugInterface.h"
|
||||
#include "Core/Reporting.h"
|
||||
|
||||
class WebSocketDisasmState : public DebuggerSubscriber {
|
||||
public:
|
||||
@@ -261,6 +262,7 @@ void WebSocketDisasmState::WriteBranchGuide(JsonWriter &json, const BranchLine &
|
||||
// - addressHex: string indicating base address in hexadecimal (may be 64 bit.)
|
||||
void WebSocketDisasmState::Base(DebuggerRequest &req) {
|
||||
JsonWriter &json = req.Respond();
|
||||
Reporting::NotifyDebugger();
|
||||
json.writeString("addressHex", StringFromFormat("%016llx", (uintptr_t)Memory::base));
|
||||
}
|
||||
|
||||
@@ -483,5 +485,6 @@ void WebSocketDisasmState::Assemble(DebuggerRequest &req) {
|
||||
return req.Fail(StringFromFormat("Could not assemble: %s", ConvertWStringToUTF8(MIPSAsm::GetAssembleError()).c_str()));
|
||||
|
||||
JsonWriter &json = req.Respond();
|
||||
Reporting::NotifyDebugger();
|
||||
json.writeUint("encoding", Memory::Read_Instruction(address).encoding);
|
||||
}
|
||||
Reference in new issue
Block a user