Compare commits

...

1 Commits

Author SHA1 Message Date
lizzie 4d21b0e8b7 2026-09-22 23:33:08
Signed-off-by: lizzie <lizzie@eden-emu.dev>
2026-09-22 23:33:09 +00:00
2 changed files with 18 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
diff --git a/lib/zstd.h b/lib/zstd.h
index 415474d..411c45a 100644
--- a/lib/zstd.h
+++ b/lib/zstd.h
@@ -139,7 +139,7 @@ ZSTDLIB_API const char* ZSTD_versionString(void);
***************************************/
/* All magic numbers are supposed read/written to/from files/memory using little-endian convention */
-#define ZSTD_MAGICNUMBER 0xFD2FB528 /* valid since v0.8.0 */
+#define ZSTD_MAGICNUMBER 0x4349425A /* ZBIC compression */
#define ZSTD_MAGIC_DICTIONARY 0xEC30A437 /* valid since v0.7.0 */
#define ZSTD_MAGIC_SKIPPABLE_START 0x184D2A50 /* all 16 values, from 0x184D2A50 to 0x184D2A5F, signal the beginning of a skippable frame */
#define ZSTD_MAGIC_SKIPPABLE_MASK 0xFFFFFFF0
+5 -1
View File
@@ -351,8 +351,12 @@
"options": [ "options": [
"ZSTD_BUILD_SHARED OFF" "ZSTD_BUILD_SHARED OFF"
], ],
"patches": [
"0001-zbic-support.patch"
],
"repo": "facebook/zstd", "repo": "facebook/zstd",
"source_subdir": "build/cmake", "source_subdir": "build/cmake",
"version": "b8d6101fba" "version": "b8d6101fba",
"bundled": true
} }
} }