mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-04-30 12:35:12 +00:00
21 lines
419 B
C++
21 lines
419 B
C++
#pragma once
|
|
|
|
#include <basis/seadTypes.h>
|
|
|
|
namespace al::SaveDataFunction {
|
|
|
|
struct SaveDataHeader {
|
|
u32 checkSum;
|
|
u32 version;
|
|
u32 fileSize;
|
|
};
|
|
|
|
static_assert(sizeof(SaveDataHeader) == 0xc);
|
|
|
|
SaveDataHeader* getSaveDataHeader(u8* buffer);
|
|
const SaveDataHeader* getSaveDataHeader(const u8* buffer);
|
|
u32 calcSaveDataCheckSum(const u8* buffer);
|
|
s32 makeInvalidResult();
|
|
|
|
} // namespace al::SaveDataFunction
|