mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-04-22 00:17:13 -05:00
audio: sort output by content
This commit is contained in:
parent
a401ebc620
commit
697e2fa2ad
|
|
@ -26,7 +26,7 @@ conf = configuration.Config()
|
|||
def sort_asms(asms):
|
||||
"""sort and remove duplicates from a list of tuples
|
||||
format (address, asm, last_address)"""
|
||||
return sorted(set(asms), key=lambda (x,y,z):(x,z,not y.startswith(';'), ':' not in y))
|
||||
return sorted(set(asms), key=lambda (x,y,z):(x,z,not y.startswith(';'), ':' not in y, y))
|
||||
|
||||
class NybbleParam:
|
||||
size = 0.5
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user