Add a setting to maintain a global func hash map.

This makes it easier to deal with functions that have a common
implementation between multiple games, e.g. libc funcs.
This commit is contained in:
Unknown W. Brackets committed 2013-12-06 00:11:49 -08:00
1 parent 160ee740d2
commit 735968ba9b
4 files changed
+101 -40

No files matched your search

+2
View File
@@ -355,6 +355,7 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
debugConfig->Get("ShowBottomTabTitles",&bShowBottomTabTitles,true);
debugConfig->Get("ShowDeveloperMenu", &bShowDeveloperMenu, false);
debugConfig->Get("SkipDeadbeefFilling", &bSkipDeadbeefFilling, false);
debugConfig->Get("FuncHashMap", &bFuncHashMap, false);
IniFile::Section *speedhacks = iniFile.GetOrCreateSection("SpeedHacks");
speedhacks->Get("PrescaleUV", &bPrescaleUV, false);
@@ -589,6 +590,7 @@ void Config::Save() {
debugConfig->Set("ShowBottomTabTitles",bShowBottomTabTitles);
debugConfig->Set("ShowDeveloperMenu", bShowDeveloperMenu);
debugConfig->Set("SkipDeadbeefFilling", bSkipDeadbeefFilling);
debugConfig->Set("FuncHashMap", bFuncHashMap);
IniFile::Section *speedhacks = iniFile.GetOrCreateSection("SpeedHacks");
speedhacks->Set("PrescaleUV", bPrescaleUV);