summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/chdcodec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util/chdcodec.h')
-rw-r--r--src/lib/util/chdcodec.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/util/chdcodec.h b/src/lib/util/chdcodec.h
index c3234ea600d..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;
};
@@ -104,8 +103,8 @@ public:
static chd_decompressor::ptr new_decompressor(chd_codec_type type, chd_file &file);
// utilities
- static bool codec_exists(chd_codec_type type);
- static const char *codec_name(chd_codec_type type);
+ static bool codec_exists(chd_codec_type type) noexcept;
+ static const char *codec_name(chd_codec_type type) noexcept;
};