mirror of
https://github.com/shijimasoft/cia-unix.git
synced 2025-06-18 14:25:34 -04:00
removed redundant decryption
This commit is contained in:
parent
92dd95721d
commit
c6e1b64efb
@ -352,8 +352,6 @@ def parseNCCH(fh, fsize, offs=0, idx=0, titleId='', standAlone=1, fromNcsd=0):
|
||||
base += '.%s.ncch' % (idx if fromNcsd == 0 else ncsdPartitions[idx])
|
||||
base = os.path.join(os.path.dirname(os.path.realpath(sys.argv[0])), base)
|
||||
with open(base, 'wb') as (f):
|
||||
fh.seek(offs)
|
||||
tmp = fh.read(512)
|
||||
tmp = tmp[:399] + chr(ord(tmp[399]) & 2 | 4) + tmp[400:]
|
||||
f.write(tmp)
|
||||
if header.exhdrSize != 0:
|
||||
|
Loading…
Reference in New Issue
Block a user