nyx: part mgr: fix 64GB emuMMC size

Fix size so the emuMMC data can be aligned properly.
This commit is contained in:
CTCaer
2025-06-22 14:25:39 +03:00
parent f3e248c0a7
commit f990190765

View File

@@ -1880,8 +1880,8 @@ static void _update_partition_bar()
static lv_res_t _action_slider_emu(lv_obj_t *slider) static lv_res_t _action_slider_emu(lv_obj_t *slider)
{ {
#define EMUMMC_32GB_FULL 29856 #define EMUMMC_32GB_FULL 29856 // Actual: 29820 MB.
#define EMUMMC_64GB_FULL (59664 + 1) // 1MB extra for backup GPT. #define EMUMMC_64GB_FULL 59680 // Actual: 59640 MB.
static const u32 rsvd_mb = 4 + 4 + 16 + 8; // BOOT0 + BOOT1 + 16MB offset + 8MB alignment. static const u32 rsvd_mb = 4 + 4 + 16 + 8; // BOOT0 + BOOT1 + 16MB offset + 8MB alignment.
u32 size; u32 size;