Skip to content

Commit

Permalink
PART: Add some Prime 3 fields
Browse files Browse the repository at this point in the history
  • Loading branch information
henriquegemignani committed Jun 21, 2021
1 parent e9f23ca commit b649649
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions retro_data_structures/formats/part.py
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,24 @@ def create_keyf_emitter(keys_type):
'XTAD': StartingAtVersion(2, GetIntElement),
'DFLG': StartingAtVersion(2, GetBitFlag),

# Prime 3
'STOP': StartingAtVersion(3, GetBool),
'PBDM': StartingAtVersion(3, GetIntElement),
'PMLT': StartingAtVersion(3, GetBool),
'MBDM': StartingAtVersion(3, GetIntElement),
'VGD1': StartingAtVersion(3, GetBool),
'VGD2': StartingAtVersion(3, GetBool),
'VGD3': StartingAtVersion(3, GetBool),
'VGD4': StartingAtVersion(3, GetBool),
'ALSC': StartingAtVersion(3, GetIntElement),
'DBPS': StartingAtVersion(3, GetBool),
'SVEO': StartingAtVersion(3, GetRealElement),
'ORTC': StartingAtVersion(3, GetBool),
'ISVF': StartingAtVersion(3, GetRealElement),
'ADV9': StartingAtVersion(3, GetRealElement),
'AMSC': StartingAtVersion(3, GetIntElement),
'XJAK': StartingAtVersion(3, GetIntElement),

# End
'_END': Pass,
}
Expand Down

0 comments on commit b649649

Please sign in to comment.