From 1b5e7401f2201ede0b552fe106bf13539fd1c69a Mon Sep 17 00:00:00 2001 From: ITotalJustice <47043333+ITotalJustice@users.noreply.github.com> Date: Fri, 23 May 2025 14:51:49 +0100 Subject: [PATCH] use stdio for minini to benefit from buffering (reduces startup by 300ms), reduce fatfs size by 60kb. --- sphaira/CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sphaira/CMakeLists.txt b/sphaira/CMakeLists.txt index ec7ec4f..507760f 100644 --- a/sphaira/CMakeLists.txt +++ b/sphaira/CMakeLists.txt @@ -197,10 +197,8 @@ FetchContent_Declare(zstd ) FetchContent_Declare(libusbhsfs - # GIT_REPOSITORY https://github.com/DarkMatterCore/libusbhsfs.git - # GIT_TAG v0.2.9 GIT_REPOSITORY https://github.com/ITotalJustice/libusbhsfs.git - GIT_TAG sxos_disable + GIT_TAG d2395e9 ) set(USE_NEW_ZSTD ON) @@ -217,7 +215,7 @@ set(ZSTD_BUILD_TESTS OFF) set(MININI_LIB_NAME minIni) set(MININI_USE_STDIO ON) -set(MININI_USE_NX ON) +set(MININI_USE_NX OFF) set(MININI_USE_FLOAT OFF) if (CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")