From 0d3df99f7699ac1fb0d5e1ce00bf50ada0836476 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 4fee53de..97627ae5 100644 --- a/nyx/nyx_gui/frontend/gui_tools_partition_manager.c +++ b/nyx/nyx_gui/frontend/gui_tools_partition_manager.c @@ -2662,8 +2662,8 @@ out: static lv_res_t _action_slider_emu(lv_obj_t *slider) { - #define EMUMMC_32GB_FULL 29856 - #define EMUMMC_64GB_FULL 59664 + #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 protective offset + 8MB alignment. u32 max_emmc_size = !part_info.emmc_is_64gb ? EMUMMC_32GB_FULL : EMUMMC_64GB_FULL;