Merge pull request #4250 from leoetlino/hle-patch-fix

HLE_OS: Minor fixes (function patching, output encoding)
This commit is contained in:
shuffle2
2016-10-02 22:13:15 -07:00
committed by GitHub
5 changed files with 17 additions and 5 deletions

View File

@ -41,7 +41,7 @@ Symbol* SymbolDB::GetSymbolFromName(const std::string& name)
{
for (auto& func : functions)
{
if (func.second.name == name)
if (func.second.function_name == name)
return &func.second;
}

View File

@ -30,6 +30,7 @@ struct Symbol
};
std::string name;
std::string function_name; // stripped function name
std::vector<SCall> callers; // addresses of functions that call this function
std::vector<SCall> calls; // addresses of functions that are called by this function
u32 hash = 0; // use for HLE function finding