From f9901907656b51de00f9ac8b7612f967a55ac2f7 Mon Sep 17 00:00:00 2001 From: CTCaer Date: Sun, 22 Jun 2025 14:25:39 +0300 Subject: [PATCH] nyx: part mgr: fix 64GB emuMMC size Fix size so the emuMMC data can be aligned properly. --- nyx/nyx_gui/frontend/gui_tools_partition_manager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nyx/nyx_gui/frontend/gui_tools_partition_manager.c b/nyx/nyx_gui/frontend/gui_tools_partition_manager.c index ee8a7fad..6c407c91 100644 --- a/nyx/nyx_gui/frontend/gui_tools_partition_manager.c +++ b/nyx/nyx_gui/frontend/gui_tools_partition_manager.c @@ -1880,8 +1880,8 @@ static void _update_partition_bar() static lv_res_t _action_slider_emu(lv_obj_t *slider) { - #define EMUMMC_32GB_FULL 29856 - #define EMUMMC_64GB_FULL (59664 + 1) // 1MB extra for backup GPT. + #define EMUMMC_32GB_FULL 29856 // Actual: 29820 MB. + #define EMUMMC_64GB_FULL 59680 // Actual: 59640 MB. static const u32 rsvd_mb = 4 + 4 + 16 + 8; // BOOT0 + BOOT1 + 16MB offset + 8MB alignment. u32 size;