mirror of
https://github.com/grp/Wii.py.git
synced 2025-06-18 23:05:48 -04:00
added disc.py fix by Matt_P
This commit is contained in:
parent
3ab6edd9ae
commit
fc57563e92
4
disc.py
4
disc.py
@ -165,12 +165,12 @@ class WOD: #WiiOpticalDisc
|
||||
blob += self.decryptBlock(self.fp.read(0x8000))
|
||||
|
||||
print 'Read from 0x%x to 0x%x' % (offset, offset + size)
|
||||
|
||||
offset -= readStart * 0x7C00
|
||||
return blob[offset:offset + size]
|
||||
|
||||
def getFst(self):
|
||||
#print 'Fst dump : %s' % hexdump(self.readPartition(self.fstOffset, self.fstSize))
|
||||
return self.readPartition(0x3020, 12320)
|
||||
return self.readPartition(self.fstOffset, self.fstSize)
|
||||
|
||||
def getIsoBootmode(self):
|
||||
if self.discHdr.discId == 'R' or self.discHdr.discId == '_':
|
||||
|
Loading…
Reference in New Issue
Block a user