diff options
Diffstat (limited to 'src/port/resource/importers/GenericArrayFactory.cpp')
| -rw-r--r-- | src/port/resource/importers/GenericArrayFactory.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/port/resource/importers/GenericArrayFactory.cpp b/src/port/resource/importers/GenericArrayFactory.cpp index 7fd6e50c..4e6bec07 100644 --- a/src/port/resource/importers/GenericArrayFactory.cpp +++ b/src/port/resource/importers/GenericArrayFactory.cpp @@ -3,8 +3,9 @@ #include "spdlog/spdlog.h" namespace SF64 { -std::shared_ptr<Ship::IResource> ResourceFactoryBinaryGenericArrayV0::ReadResource(std::shared_ptr<Ship::File> file) { - if (!FileHasValidFormatAndReader(file)) { +std::shared_ptr<Ship::IResource> ResourceFactoryBinaryGenericArrayV0::ReadResource(std::shared_ptr<Ship::File> file, + std::shared_ptr<Ship::ResourceInitData> initData) { + if (!FileHasValidFormatAndReader(file, initData)) { return nullptr; } |
