dep/libchdr: Add read_header variants for user-provided file

This commit is contained in:
Stenzek
2023-08-12 14:00:33 +10:00
parent 06a8349162
commit 62c5e3af2f
2 changed files with 31 additions and 19 deletions

View File

@ -398,6 +398,8 @@ CHD_EXPORT const char *chd_error_string(chd_error err);
CHD_EXPORT const chd_header *chd_get_header(chd_file *chd);
/* read CHD header data from file into the pointed struct */
CHD_EXPORT chd_error chd_read_header_core_file(core_file *file, chd_header *header);
CHD_EXPORT chd_error chd_read_header_file(FILE *file, chd_header *header);
CHD_EXPORT chd_error chd_read_header(const char *filename, chd_header *header);