dep: Update libchdr

This commit is contained in:
Connor McLaughlin
2020-09-14 21:52:47 +10:00
parent 4d9e58ac42
commit c8d7b0fc08
3 changed files with 144 additions and 25 deletions

View File

@ -360,6 +360,9 @@ struct _chd_verify_result
chd_error chd_open(const char *filename, int mode, chd_file *parent, chd_file **chd);
chd_error chd_open_file(core_file* file, int mode, chd_file* parent, chd_file** chd);
/* precache underlying file */
chd_error chd_precache(chd_file *chd);
/* close a CHD file */
void chd_close(chd_file *chd);

View File

@ -4,6 +4,11 @@
#include <stdint.h>
#include <stdio.h>
#ifdef _MSC_VER
#include <basetsd.h>
typedef SSIZE_T ssize_t;
#endif
#define ARRAY_LENGTH(x) (sizeof(x)/sizeof(x[0]))
typedef uint64_t UINT64;