From 597405ba8974b94c9ea0d1f0a354182b0110c0ef Mon Sep 17 00:00:00 2001 From: zoltanvb Date: Thu, 17 Apr 2025 22:27:23 +0200 Subject: [PATCH] Fix core descriptions not showing In core downloader, description can be brought up by pressing Select. However, for those cores where the description is longer than what would be possible to display, nothing was displayed. Several such cores exist, one example is Dosbox-Core. Since this array is used for the messagebox, it is needless to make it larger than what would be displayed anyway, and it makes other safeguards act reasonably, so now there is info, just truncated. --- menu/menu_driver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu/menu_driver.h b/menu/menu_driver.h index bb0716e3e0..d0de72c588 100644 --- a/menu/menu_driver.h +++ b/menu/menu_driver.h @@ -449,7 +449,7 @@ typedef struct char file_name[NAME_MAX_LENGTH]; } last_start_content; - char menu_state_msg[PATH_MAX_LENGTH * 2]; + char menu_state_msg[MENU_LABEL_MAX_LENGTH]; /* Scratchpad variables. These are used for instance * by the filebrowser when having to store intermediary * paths (subdirs/previous dirs/current dir/path, etc).