From 2b5e136cc006067abcad529548e1f6e18d4f25f2 Mon Sep 17 00:00:00 2001 From: fgsfds Date: Wed, 16 Aug 2023 02:13:58 +0200 Subject: [PATCH] port: fix #15 and menu sliders in general --- src/include/types.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/include/types.h b/src/include/types.h index 4cb023529..e30cbb4bf 100644 --- a/src/include/types.h +++ b/src/include/types.h @@ -3367,8 +3367,13 @@ struct handlerdata_slider { union { u32 value; struct { - u16 unk00; +#ifdef PLATFORM_BIG_ENDIAN + s16 unk00; + u16 unk02; +#else s16 unk02; + u16 unk00; +#endif }; }; char *label;