Updated gameboy_advance.py - fixed default case.
This commit is contained in:
parent
69c524f0e5
commit
b2664addef
1 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ def _gamecode_lookup(code: str) -> str:
|
|||
gamecode.append('RTC and solar sensor')
|
||||
case 'V':
|
||||
gamecode.append('Rumble motor')
|
||||
case '_':
|
||||
case _:
|
||||
gamecode.append('Unknown')
|
||||
|
||||
match code[3:]:
|
||||
|
@ -69,7 +69,7 @@ def _gamecode_lookup(code: str) -> str:
|
|||
gamecode.append('Europe/elsewhere')
|
||||
case 'S':
|
||||
gamecode.append('Spanish')
|
||||
case '_':
|
||||
case _:
|
||||
gamecode.append('Unknown')
|
||||
|
||||
return '{} ({})'.format(code, f'Type: {gamecode[0]} | Language: {gamecode[1]})')
|
||||
|
|
Loading…
Add table
Reference in a new issue