mirror of
https://github.com/encounter/Decrypt9.git
synced 2026-03-30 11:06:30 -07:00
ncchinfo_(t)gen.py: fix seed crypto detection
This commit is contained in:
@@ -175,6 +175,8 @@ def parseNCCH(fh, offs=0, idx=0, titleId='', standAlone=1):
|
||||
if usesSeedCrypto == 0x20:
|
||||
usesSeedCrypto = 1
|
||||
print tab + 'Uses 9.x SEED crypto'
|
||||
else:
|
||||
usesSeedCrypto = 0
|
||||
|
||||
|
||||
print ''
|
||||
|
||||
@@ -175,6 +175,8 @@ def parseNCCH(fh, offs=0, idx=0, titleId='', standAlone=1):
|
||||
if usesSeedCrypto == 0x20:
|
||||
usesSeedCrypto = 1
|
||||
print tab + 'Uses 9.x SEED crypto'
|
||||
else:
|
||||
usesSeedCrypto = 0
|
||||
|
||||
|
||||
print ''
|
||||
|
||||
Reference in New Issue
Block a user