From 6f6a18b1b0390a8def05f34b14ffcb99d7baa365 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sun, 28 May 2017 17:15:30 +0200 Subject: [PATCH] Boot: Remove unneeded manual HLE function scan Not needed. And the symbols would get overwritten by the symbol map load that is just below. --- Source/Core/Core/Boot/Boot.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Source/Core/Core/Boot/Boot.cpp b/Source/Core/Core/Boot/Boot.cpp index 65394fd05f..63d249d625 100644 --- a/Source/Core/Core/Boot/Boot.cpp +++ b/Source/Core/Core/Boot/Boot.cpp @@ -347,19 +347,6 @@ bool CBoot::BootUp(std::unique_ptr boot) if (!EmulatedBS2(config.bWii, volume)) return false; - // Scan for common HLE functions - if (!config.bEnableDebugging) - { - PPCAnalyst::FindFunctions(0x80004000, 0x811fffff, &g_symbolDB); - SignatureDB db(SignatureDB::HandlerType::DSY); - if (db.Load(File::GetSysDirectory() + TOTALDB)) - { - db.Apply(&g_symbolDB); - HLE::PatchFunctions(); - db.Clear(); - } - } - // Try to load the symbol map if there is one, and then scan it for // and eventually replace code if (LoadMapFromFilename())