X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=deps%2Flibchdr%2Finclude%2Flibchdr%2Fchd.h;h=a37edc3f252f0c5bbc9c4c289a6b5e689cac63d7;hb=6fffa2ff148630fc82e3b3ed5efa7596e38be4d0;hp=61b149dcf4e24815a12629d925e9f6caed9b0380;hpb=41ed0ee3ff0f83bf53b010e4d79ca1de5389e8f2;p=pcsx_rearmed.git diff --git a/deps/libchdr/include/libchdr/chd.h b/deps/libchdr/include/libchdr/chd.h index 61b149dc..a37edc3f 100644 --- a/deps/libchdr/include/libchdr/chd.h +++ b/deps/libchdr/include/libchdr/chd.h @@ -392,6 +392,8 @@ CHD_EXPORT const char *chd_error_string(chd_error err); /* return a pointer to the extracted CHD header data */ 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(const char *filename, chd_header *header);