From fc9620c105468ca8302e451fb8d071961a27d6e6 Mon Sep 17 00:00:00 2001 From: coah <100182500+coah80@users.noreply.github.com> Date: Thu, 1 Oct 2026 17:35:14 -0500 Subject: [PATCH] cleanup(NWC24FriendList): rename friend-list path string Rename lbl_8166E160 to scNwc24FlPath using a plain non-const char[] declaration (no section attributes or pad objects). --- config/43U/symbols.txt | 2 +- libs/RevoEX/src/nwc24/NWC24FriendList.c | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/config/43U/symbols.txt b/config/43U/symbols.txt index c3564a92..10deaab2 100644 --- a/config/43U/symbols.txt +++ b/config/43U/symbols.txt @@ -18453,7 +18453,7 @@ __FUNCTION__$1195 = .data:0x8166E0FC; // type:object size:0x1C scope:local data: __FUNCTION__$1217 = .data:0x8166E118; // type:object size:0x1C scope:local data:string __FUNCTION__$1255 = .data:0x8166E134; // type:object size:0x14 scope:local data:string __FUNCTION__$1287 = .data:0x8166E148; // type:object size:0x18 scope:local data:string -lbl_8166E160 = .data:0x8166E160; // type:object size:0x1A data:string +scNwc24FlPath = .data:0x8166E160; // type:object size:0x1A data:string @583 = .data:0x8166E180; // type:object size:0x1B scope:local data:string __FUNCTION__$1123 = .data:0x8166E1A0; // type:object size:0x18 scope:local data:string @1300 = .data:0x8166E1B8; // type:object size:0x11 scope:local data:string diff --git a/libs/RevoEX/src/nwc24/NWC24FriendList.c b/libs/RevoEX/src/nwc24/NWC24FriendList.c index 009e647b..3dfa5c42 100644 --- a/libs/RevoEX/src/nwc24/NWC24FriendList.c +++ b/libs/RevoEX/src/nwc24/NWC24FriendList.c @@ -18,10 +18,8 @@ enum { #define FRIEND_LIST_MAGIC 'WcFl' #define FRIEND_LIST_VERSION 2 -const char lbl_8166E160[26] __attribute__((section(".data"), aligned(8))) = "/shared2/wc24/nwc24fl.bin"; -void* const lbl_8166E160_pad __attribute__((section(".data"))) = (void*)0; -static const char* FLFilePath = lbl_8166E160; -const u32 FLFilePath_pad __attribute__((section(".sdata"), aligned(1))) = 0; +char scNwc24FlPath[] = "/shared2/wc24/nwc24fl.bin"; +static const char* FLFilePath = scNwc24FlPath; const char g_SpecialsChars[16] = { '(', ')', '<', '>', '[', ']', ':', ';', '\\', ',', '"' }; -- 2.49.1