mirror of
https://github.com/86Box/bios-tools.git
synced 2026-02-22 09:35:33 -07:00
Improve Phoenix Core extraneous byte stripping
This commit is contained in:
@@ -1871,10 +1871,10 @@ class PhoenixAnalyzer(Analyzer):
|
||||
if ' Setup' in branch:
|
||||
return False
|
||||
|
||||
# Strip "." and ".U" (IBM/Lenovo).
|
||||
if branch[-1:] == 'U':
|
||||
branch = branch[:-1]
|
||||
if branch[-1:] == '.':
|
||||
# Strip ".", ".U" (IBM/Lenovo) and ".S" (MSI K9ND Speedster2).
|
||||
if branch[-2] == '.':
|
||||
branch = branch[:-2]
|
||||
elif branch[-1] == '.':
|
||||
branch = branch[:-1]
|
||||
|
||||
# Trim branch before "for" (IBM/Lenovo).
|
||||
|
||||
Reference in New Issue
Block a user