Boot: Remove unneeded manual HLE function scan

Not needed. And the symbols would get overwritten by the symbol map
load that is just below.
This commit is contained in:
Léo Lam 2017-05-28 17:15:30 +02:00
parent 065261dbad
commit 6f6a18b1b0
1 changed files with 0 additions and 13 deletions

View File

@ -347,19 +347,6 @@ bool CBoot::BootUp(std::unique_ptr<BootParameters> 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())