diff options
author | 2016-03-25 15:25:30 +1100 | |
---|---|---|
committer | 2016-03-25 15:25:30 +1100 | |
commit | 54279dbf114090e67ff391fce878a9c2d3af466f (patch) | |
tree | 63c93c6ebcf1b82e2cdc59260a8018bf1fef9ae8 /src/lib/util/unzip.h | |
parent | f5d8ff8f4396c1f6cadc2522fe98d3b4fb1cce7f (diff) |
Make emu_file archive searh order CRC+path, CRC+partial path, CRC, path, partial path and fold some redundant code
Diffstat (limited to 'src/lib/util/unzip.h')
-rw-r--r-- | src/lib/util/unzip.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/util/unzip.h b/src/lib/util/unzip.h index 5fafaec57a4..928e6ef56d5 100644 --- a/src/lib/util/unzip.h +++ b/src/lib/util/unzip.h @@ -71,8 +71,8 @@ public: // find a file index by crc, filename or both - returns non-negative on match virtual int search(std::uint32_t crc) = 0; - virtual int search(const std::string &filename) = 0; - virtual int search(std::uint32_t crc, const std::string &filename) = 0; + virtual int search(const std::string &filename, bool partialpath) = 0; + virtual int search(std::uint32_t crc, const std::string &filename, bool partialpath) = 0; // information on most recently found file virtual bool current_is_directory() const = 0; |