MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / Patch_ResetSymbolTable

Function Patch_ResetSymbolTable

Source/OSHLE/patch.cpp:129–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129void Patch_ResetSymbolTable()
130{
131 u32 i = 0;
132 // Loops through all symbols, until name is nullptr
133 for (i = 0; g_PatchSymbols[i] != nullptr; i++)
134 {
135 g_PatchSymbols[i]->Found = false;
136 }
137 nPatchSymbols = i;
138
139 for (i = 0; g_PatchVariables[i] != nullptr; i++)
140 {
141 g_PatchVariables[i]->Found = false;
142 g_PatchVariables[i]->FoundHi = false;
143 g_PatchVariables[i]->FoundLo = false;
144 }
145 nPatchVariables = i;
146}
147
148void Patch_ApplyPatches()
149{

Callers 1

Patch_ResetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected