notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75be4d9
)
chd: override config
author
notaz
<notasas@gmail.com>
Tue, 22 Oct 2024 18:43:03 +0000
(21:43 +0300)
committer
notaz
<notasas@gmail.com>
Thu, 24 Oct 2024 23:50:18 +0000
(
02:50
+0300)
relies on -Iinclude being before -Ideps/libchdr/include
include/libchdr/chdconfig.h
[new file with mode: 0644]
patch
|
blob
diff --git a/include/libchdr/chdconfig.h
b/include/libchdr/chdconfig.h
new file mode 100644
(file)
index 0000000..
a1f9d04
--- /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