Merge pull request #4298 from sepalani/hle_bp

HLE: Wrong array used in BP patching fixed
This commit is contained in:
shuffle2 2016-10-04 17:38:06 -07:00 committed by GitHub
commit 71aa243333
1 changed files with 1 additions and 1 deletions

View File

@ -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);