| 1 | #include <resource/seadArchiveRes.h> |
|---|---|
| 2 | |
| 3 | namespace sead |
| 4 | { |
| 5 | s32 ArchiveRes::getLoadDataAlignment() const |
| 6 | { |
| 7 | return 0x80; |
| 8 | } |
| 9 | |
| 10 | void ArchiveRes::doCreate_(u8* buf, u32, Heap*) |
| 11 | { |
| 12 | mEnable = prepareArchive_(archive: buf); |
| 13 | } |
| 14 | |
| 15 | bool ArchiveRes::isExistFileImpl_(const SafeString& path) const |
| 16 | { |
| 17 | return convertPathToEntryIDImpl_(file_path: path) != -1; |
| 18 | } |
| 19 | } // namespace sead |
| 20 |