[loader] external zbic + code tweaks

This commit is contained in:
xbzk committed 2026-09-26 12:35:29 -03:00
1 parent 4ce1ca8e57
commit 79d1927d63
4 files changed
+10 -5

No files matched your search

+5
View File
@@ -338,6 +338,11 @@
"repo": "herumi/xbyak", "repo": "herumi/xbyak",
"version": "v7.40.1" "version": "v7.40.1"
}, },
"zbic": {
"hash": "fbe2f37986377d7f0d96ae3224c80b5971df6e8b6961f68061f1975ebb2e8cb78f07b90f014b007be4023dbf5513581504e7f7d61a5237cb2a8a7a61ae11e482",
"repo": "kinnay/zbic",
"version": "11b08f2712264bbed731545085cbd9702096ceb7"
},
"zlib": { "zlib": {
"hash": "16fea4df307a68cf0035858abe2fd550250618a97590e202037acd18a666f57afc10f8836cbbd472d54a0e76539d0e558cb26f059d53de52ff90634bbf4f47d4", "hash": "16fea4df307a68cf0035858abe2fd550250618a97590e202037acd18a666f57afc10f8836cbbd472d54a0e76539d0e558cb26f059d53de52ff90634bbf4f47d4",
"min_version": "1.2", "min_version": "1.2",
+3 -3
View File
@@ -48,9 +48,9 @@ if (NOT TARGET stb::headers)
add_library(stb::headers ALIAS stb) add_library(stb::headers ALIAS stb)
endif() endif()
AddJsonPackage(NAME atmosphere_zstd_bic DOWNLOAD_ONLY) AddJsonPackage(NAME zbic DOWNLOAD_ONLY)
set(ATMOSPHERE_ZSTD_BIC_INCLUDE_DIR set(ZBIC_INCLUDE_DIR
"${atmosphere_zstd_bic_SOURCE_DIR}/libraries/libstratosphere/source/util" "${zbic_SOURCE_DIR}/src"
PARENT_SCOPE) PARENT_SCOPE)
# ItaniumDemangle (Windows only) # ItaniumDemangle (Windows only)
+1 -1
View File
@@ -150,7 +150,7 @@ add_library(
container/unordered_map.h container/unordered_set.h) container/unordered_map.h container/unordered_set.h)
set_source_files_properties(zbic_compression.cpp PROPERTIES set_source_files_properties(zbic_compression.cpp PROPERTIES
INCLUDE_DIRECTORIES "${ATMOSPHERE_ZSTD_BIC_INCLUDE_DIR}" INCLUDE_DIRECTORIES "${ZBIC_INCLUDE_DIR}"
COMPILE_OPTIONS "$<$<CXX_COMPILER_ID:Clang,GNU>:-Wno-unused-function>") COMPILE_OPTIONS "$<$<CXX_COMPILER_ID:Clang,GNU>:-Wno-unused-function>")
if(WIN32) if(WIN32)
+1 -1
View File
@@ -13,7 +13,7 @@
#undef ZSTD_MULTITHREAD #undef ZSTD_MULTITHREAD
#include "zstd.h" #include "zstd.h"
#include "zstd.inc" #include "zstd.c"
namespace Common::Compression { namespace Common::Compression {