From: notaz Date: Tue, 22 Oct 2024 18:43:03 +0000 (+0300) Subject: chd: override config X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4adbe7bb40f9693bb6f9ef7d236b3a7e0ffdb476;p=pcsx_rearmed.git chd: override config relies on -Iinclude being before -Ideps/libchdr/include --- diff --git a/include/libchdr/chdconfig.h b/include/libchdr/chdconfig.h new file mode 100644 index 00000000..a1f9d041 --- /dev/null +++ b/include/libchdr/chdconfig.h @@ -0,0 +1,15 @@ +#ifndef __CHDCONFIG_H__ +#define __CHDCONFIG_H__ + +/* this overrides deps/libchdr/include/libchdr/chdconfig.h */ +#define WANT_SUBCODE 1 +#define NEED_CACHE_HUNK 1 + +#if defined(__x86_64__) || defined(__aarch64__) +#define WANT_RAW_DATA_SECTOR 1 +#define VERIFY_BLOCK_CRC 1 +#else +// assume some slower hw so no ecc that most (all?) games don't need +#endif + +#endif