|
static chd_error | header_validate (const chd_header *header) |
|
static chd_error | header_read (chd_file *chd, chd_header *header) |
|
static chd_error | hunk_read_into_memory (chd_file *chd, UINT32 hunknum, UINT8 *dest) |
|
static chd_error | map_read (chd_file *chd) |
|
static chd_error | metadata_find_entry (chd_file *chd, UINT32 metatag, UINT32 metaindex, metadata_entry *metaentry) |
|
static INLINE UINT64 | get_bigendian_uint64 (const UINT8 *base) |
|
static INLINE void | put_bigendian_uint64 (UINT8 *base, UINT64 value) |
|
static INLINE UINT64 | get_bigendian_uint48 (const UINT8 *base) |
|
static INLINE void | put_bigendian_uint48 (UINT8 *base, UINT64 value) |
|
static INLINE UINT32 | get_bigendian_uint32 (const UINT8 *base) |
|
static INLINE void | put_bigendian_uint24 (UINT8 *base, UINT32 value) |
|
static INLINE void | put_bigendian_uint32 (UINT8 *base, UINT32 value) |
|
static INLINE UINT32 | get_bigendian_uint24 (const UINT8 *base) |
|
static INLINE UINT16 | get_bigendian_uint16 (const UINT8 *base) |
|
static INLINE void | put_bigendian_uint16 (UINT8 *base, UINT16 value) |
|
static INLINE void | map_extract (const UINT8 *base, map_entry *entry) |
|
static INLINE void | map_assemble (UINT8 *base, map_entry *entry) |
|
static INLINE int | map_size_v5 (chd_header *header) |
|
uint16_t | crc16 (const void *data, uint32_t length) |
|
static chd_error | decompress_v5_map (chd_file *chd, chd_header *header) |
|
static INLINE void | map_extract_old (const UINT8 *base, map_entry *entry, UINT32 hunkbytes) |
|
chd_error | chd_open_file (RFILE *file, int mode, chd_file *parent, chd_file **chd) |
|
chd_error | chd_open (const char *filename, int mode, chd_file *parent, chd_file **chd) |
|
chd_error | chd_precache (chd_file *chd) |
|
void | chd_close (chd_file *chd) |
|
RFILE * | chd_core_file (chd_file *chd) |
|
const char * | chd_error_string (chd_error err) |
|
const chd_header * | chd_get_header (chd_file *chd) |
|
chd_error | chd_read (chd_file *chd, UINT32 hunknum, void *buffer) |
|
chd_error | chd_get_metadata (chd_file *chd, UINT32 searchtag, UINT32 searchindex, void *output, UINT32 outputlen, UINT32 *resultlen, UINT32 *resulttag, UINT8 *resultflags) |
|
chd_error | chd_codec_config (chd_file *chd, int param, void *config) |
|
const char * | chd_get_codec_name (UINT32 codec) |
|
static UINT32 | header_guess_unitbytes (chd_file *chd) |
|
static UINT8 * | read_compressed (chd_file *chd, UINT64 offset, size_t size) |
|
static chd_error | read_uncompressed (chd_file *chd, UINT64 offset, size_t size, UINT8 *dest) |
|
static size_t | core_fsize (RFILE *f) |
|