From 8e15603fbcfc3ebda9fc6e022c61b36cfdc2f996 Mon Sep 17 00:00:00 2001 From: Bassoonian Date: Wed, 5 Jun 2024 11:52:42 +0200 Subject: [PATCH] Fix center crash (#4725) --- include/list_menu.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/list_menu.h b/include/list_menu.h index 1e6c0f95fa..413b978227 100644 --- a/include/list_menu.h +++ b/include/list_menu.h @@ -40,9 +40,9 @@ struct ListMenuTemplate const struct ListMenuItem *items; void (* moveCursorFunc)(s32 itemIndex, bool8 onInit, struct ListMenu *list); void (* itemPrintFunc)(u8 windowId, u32 itemId, u8 y); - u16 totalItems:12; - u16 maxShowed:12; - u16 textNarrowWidth:8; + u32 totalItems:12; + u32 maxShowed:12; + u32 textNarrowWidth:8; u8 windowId; u8 header_X; u8 item_X;