mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 12:21:18 +00:00
erpt: tweak autogen
This commit is contained in:
parent
b73895df0a
commit
823a1f3ea3
2 changed files with 612 additions and 612 deletions
File diff suppressed because it is too large
Load diff
|
@ -391,7 +391,7 @@ def main(argc, argv):
|
|||
out.write('#define AMS_ERPT_FOREACH_FIELD(HANDLER) \\\n')
|
||||
for i in xrange(NUM_FIELDS):
|
||||
f, c, t = fields[i], cats[i], types[i]
|
||||
out.write((' HANDLER(%%-%ds %%-4s %%-4s %%-2s) \\\n' % (mf+1)) % (f+',', '%d,'%i, '%d,'%c, '%d'%t))
|
||||
out.write((' HANDLER(%%-%ds %%-4s %%-%ds %%-%ds) \\\n' % (mf+1, mc+1, mt)) % (f+',', '%d,'%i, cat_to_string(c)+',', typ_to_string(t)))
|
||||
out.write('\n')
|
||||
return 0
|
||||
|
||||
|
|
Loading…
Reference in a new issue