From 92579d68f2fcb5780622a7d2ab6613c4a5771c0b Mon Sep 17 00:00:00 2001 From: d0k3 Date: Tue, 27 Nov 2018 00:10:35 +0100 Subject: [PATCH] Increase size limit for path in boot setup. Fixes #28 --- source/arm11/menu/menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/arm11/menu/menu.c b/source/arm11/menu/menu.c index ce4402aa..2510de72 100644 --- a/source/arm11/menu/menu.c +++ b/source/arm11/menu/menu.c @@ -73,14 +73,14 @@ void menuBuildDescString(char* desc, u32 flags, u32 index, const char* desc_raw) else if (slot < N_BOOTSLOTS) { // get strings for path and keycombo - char slot_path_store[24+1]; + char slot_path_store[40+1]; char* slot_path = NULL; char* keycombo = NULL; if(configDataExist(KBootOption1 + slot)) { slot_path = slot_path_store; - truncateString(slot_path, (char*) configGetData(KBootOption1 + slot), 24, 8); + truncateString(slot_path, (char*) configGetData(KBootOption1 + slot), 40, 8); } if(configDataExist(KBootOption1Buttons + slot))