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 onFrame; std::map speedHacks; -std::vector discList; void LoadPatchSection(const std::string& section, std::vector& patches, IniFile& globalIni, IniFile& localIni) { @@ -126,23 +125,6 @@ void LoadPatchSection(const std::string& section, std::vector& patches, I } } -static void LoadDiscList(const std::string& section, IniFile& ini) -{ - std::vector 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 keys; @@ -190,7 +172,6 @@ void LoadPatches() Gecko::SetActiveCodes(gcodes); LoadSpeedhacks("Speedhacks", merged); - LoadDiscList("DiscList", merged); } void ApplyPatches(const std::vector &patches)