diff options
author | 2024-10-14 03:22:17 +1100 | |
---|---|---|
committer | 2024-10-14 03:22:17 +1100 | |
commit | ad459a9025b1fb2285041d32d7c21cb87e11a8f5 (patch) | |
tree | b53a695990409497c6b26c8478c4aad0afbe72f9 /src/lib/util/chdcodec.h | |
parent | ec9aec11be23ad7eda6fc52d38fdf90ca6a484e2 (diff) |
util/chd.cpp, util/chdcodec.cpp: Added a safer way to let codecs do special stuff with hunks.
Diffstat (limited to 'src/lib/util/chdcodec.h')
-rw-r--r-- | src/lib/util/chdcodec.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/util/chdcodec.h b/src/lib/util/chdcodec.h index 08235ecaae6..c477333544f 100644 --- a/src/lib/util/chdcodec.h +++ b/src/lib/util/chdcodec.h @@ -2,8 +2,6 @@ // copyright-holders:Aaron Giles /*************************************************************************** - chdcodec.h - Codecs used by the CHD format ***************************************************************************/ @@ -89,6 +87,7 @@ public: using ptr = std::unique_ptr<chd_decompressor>; // implementation + virtual void process(const uint8_t *src, uint32_t complen); virtual void decompress(const uint8_t *src, uint32_t complen, uint8_t *dest, uint32_t destlen) = 0; }; |