diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2014-04-22 09:49:20 +0200 |
|---|---|---|
| committer | Pierre Bourdon <delroth@gmail.com> | 2014-04-22 09:49:20 +0200 |
| commit | 4186eaf3eda4b93e93f3675b4fa9dda5542871d5 (patch) | |
| tree | 82f90a73eee4f6f6cd80c8d7c53ea2d2cfa46352 /Source/Core | |
| parent | 782d271548acf951ccddc84ad1892a03f8f49246 (diff) | |
| parent | b5f71e901ff3d468224630c1293fc35a3a1e5337 (diff) | |
Merge pull request #297 from magumagu/remove-loaddisclist
PatchEngine: Remove no-op function LoadDiscList.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/PatchEngine.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/Source/Core/Core/PatchEngine.cpp b/Source/Core/Core/PatchEngine.cpp index dd9fe7de8e..deb843a6f0 100644 --- a/Source/Core/Core/PatchEngine.cpp +++ b/Source/Core/Core/PatchEngine.cpp @@ -45,7 +45,6 @@ const char *PatchTypeStrings[] = std::vector<Patch> onFrame; std::map<u32, int> speedHacks; -std::vector<std::string> discList; void LoadPatchSection(const std::string& section, std::vector<Patch>& patches, IniFile& globalIni, IniFile& localIni) { @@ -126,23 +125,6 @@ void LoadPatchSection(const std::string& section, std::vector<Patch>& patches, I } } -static void LoadDiscList(const std::string& section, IniFile& ini) -{ - std::vector<std::string> lines; - if (!ini.GetLines(section, &lines)) - { - return; - } - - for (const std::string& line : lines) - { - if (!line.empty()) - { - discList.push_back(line); - } - } -} - static void LoadSpeedhacks(const std::string& section, IniFile& ini) { std::vector<std::string> keys; @@ -190,7 +172,6 @@ void LoadPatches() Gecko::SetActiveCodes(gcodes); LoadSpeedhacks("Speedhacks", merged); - LoadDiscList("DiscList", merged); } void ApplyPatches(const std::vector<Patch> &patches) |
