X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=deps%2Flibchdr%2Finclude%2Flibchdr%2Fcdrom.h;fp=deps%2Flibchdr%2Fcdrom.h;h=816e6a5c4fe9ea597159a95c7f92a46f84b8e690;hb=2ff0b5124f2e17a290121e1eeecf45db1d9e2c85;hp=65aa18218b041a9ac090f0baf4c7c9c25794155e;hpb=e3e1b865f7c06f57918b97f7293b5b2959fb7b7d;p=pcsx_rearmed.git diff --git a/deps/libchdr/cdrom.h b/deps/libchdr/include/libchdr/cdrom.h similarity index 97% rename from deps/libchdr/cdrom.h rename to deps/libchdr/include/libchdr/cdrom.h index 65aa1821..816e6a5c 100644 --- a/deps/libchdr/cdrom.h +++ b/deps/libchdr/include/libchdr/cdrom.h @@ -14,15 +14,14 @@ #define __CDROM_H__ #include - +#include /*************************************************************************** CONSTANTS ***************************************************************************/ /* tracks are padded to a multiple of this many frames */ -extern const uint32_t CD_TRACK_PADDING; - +#define CD_TRACK_PADDING (4) #define CD_MAX_TRACKS (99) /* AFAIK the theoretical limit */ #define CD_MAX_SECTOR_DATA (2352) #define CD_MAX_SUBCODE_DATA (96) @@ -60,10 +59,12 @@ enum FUNCTION PROTOTYPES ***************************************************************************/ +#ifdef WANT_RAW_DATA_SECTOR /* ECC utilities */ int ecc_verify(const uint8_t *sector); void ecc_generate(uint8_t *sector); void ecc_clear(uint8_t *sector); +#endif