From c9b9b65fdfb76c324a6bbf5fc63f544a8834c5f2 Mon Sep 17 00:00:00 2001 From: AnonymousRandomPerson Date: Mon, 22 Sep 2025 00:10:16 -0400 Subject: [PATCH] Excluded symbols starting with @ in pmdsky-debug sync --- tools/sync_pmdsky_debug/xmap_reader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/sync_pmdsky_debug/xmap_reader.py b/tools/sync_pmdsky_debug/xmap_reader.py index 14ef5970..5d4e768d 100644 --- a/tools/sync_pmdsky_debug/xmap_reader.py +++ b/tools/sync_pmdsky_debug/xmap_reader.py @@ -82,9 +82,9 @@ def read_xmap_symbols_for_language(language: str) -> Dict[str, Dict[int, SymbolD elif current_section is not None and line.startswith(' ') and ('.text' in line or '.itcm' in line or line_is_data(line)) and len(line) > 28 and line[28] not in NON_FUNCTION_SYMBOLS: symbol_split = line[28:-1].split('\t') - symbol_name = symbol_split[0] + symbol_name: str = symbol_split[0] - if symbol_name in XMAP_SYMBOL_BLACKLIST or '$' in symbol_name: + if symbol_name in XMAP_SYMBOL_BLACKLIST or '$' in symbol_name or symbol_name.startswith('@'): continue symbol_address = int(line[2:10], 16)