From 54279dbf114090e67ff391fce878a9c2d3af466f Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Fri, 25 Mar 2016 15:25:30 +1100 Subject: Make emu_file archive searh order CRC+path, CRC+partial path, CRC, path, partial path and fold some redundant code --- src/lib/util/unzip.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/util/unzip.h') 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; -- cgit v1.2.3