Small fix

This commit is contained in:
Agent X 2023-11-07 16:50:56 -05:00
parent 7343c019af
commit c9489ba165
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ def process_define(filename, line):
if p.startswith('0x'):
continue
p = re.sub(r'0x[a-fA-F0-9]+', '', p)
if re.search('[a-z]', p) != None and "VERSION_TEXT" not in line and "SM64COOPDX" not in line:
if re.search('[a-z]', p) != None and "VERSION_TEXT" not in line:
if 'gCurrentObject' not in line and verbose:
print('UNRECOGNIZED DEFINE: ' + line)
return None