From bd3ad8782a0441b5c94093931ba17fadc80be107 Mon Sep 17 00:00:00 2001 From: ITotalJustice <47043333+ITotalJustice@users.noreply.github.com> Date: Thu, 31 Jul 2025 01:23:50 +0100 Subject: [PATCH] bump ftpsrv and haze versions (ftpsrv 85b3cf0, haze 0be1523). haze now has 4gb+ support. --- sphaira/CMakeLists.txt | 5 ++--- sphaira/source/ftpsrv_helper.cpp | 4 ++-- sphaira/source/haze_helper.cpp | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/sphaira/CMakeLists.txt b/sphaira/CMakeLists.txt index 61a96c5..0969a1f 100644 --- a/sphaira/CMakeLists.txt +++ b/sphaira/CMakeLists.txt @@ -159,14 +159,13 @@ set(FETCHCONTENT_QUIET FALSE) FetchContent_Declare(ftpsrv GIT_REPOSITORY https://github.com/ITotalJustice/ftpsrv.git - # GIT_TAG 1.2.2 - GIT_TAG 8782f6b + GIT_TAG 85b3cf0 SOURCE_SUBDIR NONE ) FetchContent_Declare(libhaze GIT_REPOSITORY https://github.com/ITotalJustice/libhaze.git - GIT_TAG 1f11184 + GIT_TAG 0be1523 ) FetchContent_Declare(libpulsar diff --git a/sphaira/source/ftpsrv_helper.cpp b/sphaira/source/ftpsrv_helper.cpp index 1eb5ec3..fab5029 100644 --- a/sphaira/source/ftpsrv_helper.cpp +++ b/sphaira/source/ftpsrv_helper.cpp @@ -360,9 +360,9 @@ bool Init() { .func = &g_vfs_install, }; - vfs_nx_init(&custom, mount_devices, save_writable, mount_bis); + vfs_nx_init(&custom, mount_devices, save_writable, mount_bis, false); #else - vfs_nx_init(NULL, mount_devices, save_writable, mount_bis); + vfs_nx_init(NULL, mount_devices, save_writable, mount_bis, false); #endif Result rc; diff --git a/sphaira/source/haze_helper.cpp b/sphaira/source/haze_helper.cpp index 3361883..1e8484b 100644 --- a/sphaira/source/haze_helper.cpp +++ b/sphaira/source/haze_helper.cpp @@ -27,7 +27,7 @@ struct InstallSharedData { }; #endif -constexpr int THREAD_PRIO = PRIO_PREEMPTIVE; +constexpr int THREAD_PRIO = 0x20; constexpr int THREAD_CORE = 2; std::atomic_bool g_should_exit = false; bool g_is_running{false};