HLE: Wrong array used in BP patching fixed

This commit is contained in:
Sepalani 2016-10-04 16:47:06 +01:00
parent 9ecd25067b
commit 6e8c5040df

View File

@ -125,7 +125,7 @@ void PatchFunctions()
{ {
for (size_t i = 1; i < ArraySize(OSBreakPoints); ++i) for (size_t i = 1; i < ArraySize(OSBreakPoints); ++i)
{ {
Symbol* symbol = g_symbolDB.GetSymbolFromName(OSPatches[i].m_szPatchName); Symbol* symbol = g_symbolDB.GetSymbolFromName(OSBreakPoints[i].m_szPatchName);
if (symbol) if (symbol)
{ {
PowerPC::breakpoints.Add(symbol->address, false); PowerPC::breakpoints.Add(symbol->address, false);