MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / Read32

Method Read32

pcsx2/DebugTools/DebugInterface.cpp:255–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255u32 R5900DebugInterface::Read32(u32 address, bool* valid)
256{
257 if (!isValidAddress(address))
258 return static_cast<u32>(InvalidReadResult(valid));
259
260 u32 value;
261 if (!vtlb_memSafeReadBytes(address, &value, sizeof(value)))
262 return static_cast<u32>(InvalidReadResult(valid));
263
264 if (valid)
265 *valid = true;
266 return value;
267}
268
269u64 R5900DebugInterface::Read64(u32 address, bool* valid)
270{

Callers 14

GetJumpTargetFunction · 0.45
GetBranchTargetFunction · 0.45
GetBranchTargetNoRAFunction · 0.45
GetSureBranchTargetFunction · 0.45
ScanAheadForJumpbackFunction · 0.45
ScanForFunctionsFunction · 0.45
GetOpcodeInfoFunction · 0.45
ScanForAllocaSignatureFunction · 0.45
ScanForEntryFunction · 0.45
getReferenceValueMethod · 0.45
getMemoryValueMethod · 0.45
computeHashFunction · 0.45

Calls 3

InvalidReadResultFunction · 0.85
vtlb_memSafeReadBytesFunction · 0.85
iopMemRead32Function · 0.85

Tested by

no test coverage detected