Skip to content

Commit

Permalink
Remove duplicated loading logic
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseTG committed Dec 26, 2023
1 parent 6c746f2 commit 31385b3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/FATStorage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ using std::string;
FATStorage::FATStorage(const std::string& filename, u64 size, bool readonly, const std::optional<string>& sourcedir) :
FATStorage(FATStorageArgs { filename, size, readonly, sourcedir })
{
Load(filename, size, sourcedir);

File = Platform::OpenLocalFile(FilePath, FileMode::ReadWriteExisting);
}

FATStorage::FATStorage(const FATStorageArgs& args) noexcept :
Expand Down

0 comments on commit 31385b3

Please sign in to comment.