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

Function computeHash

pcsx2/DebugTools/DisassemblyManager.cpp:20–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20static u32 computeHash(u32 address, u32 size)
21{
22 u32 end = address+size;
23 u32 hash = 0xBACD7814;
24 while (address < end)
25 {
26 hash += r5900Debug.Read32(address);
27 address += 4;
28 }
29 return hash;
30}
31
32
33static void parseDisasm(SymbolGuardian& guardian, const char* disasm, char* opcode, char* arguments, size_t arguments_size, bool insertSymbols)

Callers 3

DisassemblyFunctionMethod · 0.85
recheckMethod · 0.85
DisassemblyDataMethod · 0.85

Calls 1

Read32Method · 0.45

Tested by

no test coverage detected