mirror of
https://github.com/grp/Wii.py.git
synced 2025-06-18 23:05:48 -04:00
Fixed markContent function
This commit is contained in:
parent
75b850a436
commit
d7de9ab3e5
2
disc.py
2
disc.py
@ -119,7 +119,7 @@ class WOD: #WiiOpticalDisc
|
|||||||
blockStart = offset / 0x7C00
|
blockStart = offset / 0x7C00
|
||||||
blockLen = (align(size, 0x7C00)) / 0x7C00
|
blockLen = (align(size, 0x7C00)) / 0x7C00
|
||||||
|
|
||||||
for x in range(blockStart, blockLen):
|
for x in range(blockStart, blockStart + blockLen):
|
||||||
try:
|
try:
|
||||||
self.markedBlocks.index(blockStart + x)
|
self.markedBlocks.index(blockStart + x)
|
||||||
except:
|
except:
|
||||||
|
Loading…
Reference in New Issue
Block a user