mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-18 17:00:30 +02:00
More memory cleanup
This commit is contained in:
1 parent
cd052ea640
commit
3bd41376da
43 files changed
+574
-527
No files matched your search
@@ -323,11 +323,11 @@ void WebSocketMemoryWriteU8(DebuggerRequest &req) {
|
||||
Core_RunOnCPUThread([&] {
|
||||
AutoDisabledReplacements memLock = LockMemory(true);
|
||||
currentMIPS->InvalidateICache(addr, 1);
|
||||
Memory::Write_U8(val, addr);
|
||||
Memory::WriteUnchecked_U8(val, addr);
|
||||
Reporting::NotifyDebugger();
|
||||
|
||||
JsonWriter &json = req.Respond();
|
||||
json.writeUint("value", Memory::Read_U8(addr));
|
||||
json.writeUint("value", Memory::ReadUnchecked_U8(addr));
|
||||
});
|
||||
}
|
||||
|
||||
@@ -364,7 +364,7 @@ void WebSocketMemoryWriteU16(DebuggerRequest &req) {
|
||||
Reporting::NotifyDebugger();
|
||||
|
||||
JsonWriter &json = req.Respond();
|
||||
json.writeUint("value", Memory::Read_U16(addr));
|
||||
json.writeUint("value", Memory::ReadUnchecked_U16(addr));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user