mirror of
https://github.com/notwa/mm
synced 2024-11-05 00:39:02 -08:00
fix extraction of Doubutsu no Mori files
This commit is contained in:
parent
ed63ff4654
commit
df13f93892
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,8 @@ def try_actor(f):
|
|||
return False
|
||||
f.seek(-section_size, 2)
|
||||
section_start = f.tell()
|
||||
if section_start + 12 >= file_size:
|
||||
return False
|
||||
data_offset = R4(f.read(4))
|
||||
data_size = R4(f.read(4))
|
||||
misc_size = R4(f.read(4))
|
||||
|
|
Loading…
Reference in a new issue