From fb2272546a18e3341d6f3374938484e5602e5942 Mon Sep 17 00:00:00 2001 From: ITotalJustice <47043333+ITotalJustice@users.noreply.github.com> Date: Tue, 27 May 2025 00:55:26 +0100 Subject: [PATCH] bump usbhsfs git tag to include hack for adaptor mounting. fix applet mode text being draw at wrong offset. --- sphaira/CMakeLists.txt | 2 +- sphaira/source/ui/menus/menu_base.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sphaira/CMakeLists.txt b/sphaira/CMakeLists.txt index 4f3a29d..088fe68 100644 --- a/sphaira/CMakeLists.txt +++ b/sphaira/CMakeLists.txt @@ -197,7 +197,7 @@ FetchContent_Declare(zstd FetchContent_Declare(libusbhsfs GIT_REPOSITORY https://github.com/ITotalJustice/libusbhsfs.git - GIT_TAG b963156 + GIT_TAG db2bf2a ) set(USE_NEW_ZSTD ON) diff --git a/sphaira/source/ui/menus/menu_base.cpp b/sphaira/source/ui/menus/menu_base.cpp index 6d88ffc..a78fcbc 100644 --- a/sphaira/source/ui/menus/menu_base.cpp +++ b/sphaira/source/ui/menus/menu_base.cpp @@ -74,7 +74,7 @@ void MenuBase::Draw(NVGcontext* vg, Theme* theme) { start_x -= fixed; \ } else { \ gfx::textBounds(vg, 0, 0, bounds, __VA_ARGS__); \ - start_x -= spacing - (bounds[2] - bounds[0]); \ + start_x -= spacing + (bounds[2] - bounds[0]); \ } draw(ThemeEntryID_TEXT, 83, "%u\uFE6A", pdata.battery_percetange);