From 6e8c5040df0c53f37dd3b36fe93c4d307ba8c89a Mon Sep 17 00:00:00 2001 From: Sepalani Date: Tue, 4 Oct 2016 16:47:06 +0100 Subject: [PATCH] HLE: Wrong array used in BP patching fixed --- Source/Core/Core/HLE/HLE.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/HLE/HLE.cpp b/Source/Core/Core/HLE/HLE.cpp index 1e1fd96d03..dcfbbbe632 100644 --- a/Source/Core/Core/HLE/HLE.cpp +++ b/Source/Core/Core/HLE/HLE.cpp @@ -125,7 +125,7 @@ void PatchFunctions() { 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) { PowerPC::breakpoints.Add(symbol->address, false);