From 45d42da528b9475b56c2803522e120264c2d2eb4 Mon Sep 17 00:00:00 2001 From: Mrlinkwii Date: Thu, 5 Jan 2023 13:31:04 +0000 Subject: [PATCH] GzippedFileReader: Remove commented out WX code. (#7796) --- pcsx2/CDVD/GzippedFileReader.cpp | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/pcsx2/CDVD/GzippedFileReader.cpp b/pcsx2/CDVD/GzippedFileReader.cpp index 0f329543d1..15f4c5dfbe 100644 --- a/pcsx2/CDVD/GzippedFileReader.cpp +++ b/pcsx2/CDVD/GzippedFileReader.cpp @@ -145,33 +145,6 @@ static std::string ApplyTemplate(const std::string& name, const std::string& bas return trimmedTemplate; } -/* -static void TestTemplate(const wxDirName &base, const wxString &fname, bool canEndWithKey) -{ - const char *ins[] = { - "$(f).pindex.tmp", // same folder as the original file - " $(f).pindex.tmp ", // same folder as the original file (trimmed silently) - "cache/$(f).pindex", // relative to base - "../$(f).pindex", // relative to base - "%appdata%/pcsx2/cache/$(f).pindex", // c:/Users//AppData/Roaming/pcsx2/cache/ ... - "c:\\pcsx2-cache/$(f).pindex", // absolute - "~/.cache/$(f).pindex", // TODO: check if this works on *nix. It should... - // (on windows ~ isn't recognized as special) - "cache/$(f)/$(f).index", // invalid: appears twice - "hello", // invalid: doesn't contain $(f) - "hello$(f)", // invalid, can't end with $(f) - NULL - }; - - for (int i = 0; ins[i]; i++) { - wxString tem(wxString::From8BitData(ins[i])); - Console.WriteLn(Color_Green, L"test: '%s' -> '%s'", - WX_STR(tem), - WX_STR(ApplyTemplate(L"test", base, tem, fname, canEndWithKey))); - } -} -*/ - static std::string iso2indexname(const std::string& isoname) { const std::string& appRoot = EmuFolders::DataRoot;