Skip to content

Commit

Permalink
PFS0 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
seiya-git committed Jan 1, 2024
1 parent 061c110 commit 28866e5
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions py/nstools/Fs/Pfs0.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,8 @@ def add(self, name, size, pleaseNoPrint = None):
self.files.append({'name': name, 'size': size, 'offset': self.pos})
return self

def resize(self, name, size):
for i in self.files:
if i['name'] == name:
i['size'] = size
return True
return False
def get(self, name):
return self

def close(self):
pass
Expand Down

0 comments on commit 28866e5

Please sign in to comment.