mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 18:42:15 +02:00
Savedata sizes are signed.
This commit is contained in:
parent
ec6356c069
commit
d5f68ef52f
@ -84,16 +84,16 @@ typedef struct {
|
|||||||
u64 timestamp; ///< POSIX timestamp.
|
u64 timestamp; ///< POSIX timestamp.
|
||||||
u32 flags; ///< Save data flags. See \ref FsSaveDataFlags.
|
u32 flags; ///< Save data flags. See \ref FsSaveDataFlags.
|
||||||
u32 unk_x54; ///< Normally 0. Possibly unused?
|
u32 unk_x54; ///< Normally 0. Possibly unused?
|
||||||
u64 dataSize; ///< Usable save data size.
|
s64 dataSize; ///< Usable save data size.
|
||||||
u64 journalSize; ///< Journal size of the save data.
|
s64 journalSize; ///< Journal size of the save data.
|
||||||
u64 commitId; ///< Id of the latest commit.
|
u64 commitId; ///< Id of the latest commit.
|
||||||
u8 unused[0x190]; ///< Uninitialized.
|
u8 unused[0x190]; ///< Uninitialized.
|
||||||
} FsSaveDataExtraData;
|
} FsSaveDataExtraData;
|
||||||
|
|
||||||
/// SaveCreate Struct
|
/// SaveCreate Struct
|
||||||
typedef struct {
|
typedef struct {
|
||||||
u64 size; ///< Size of the save data.
|
s64 size; ///< Size of the save data.
|
||||||
u64 journalSize; ///< Journal size of the save data.
|
s64 journalSize; ///< Journal size of the save data.
|
||||||
u64 blockSize; ///< Block size of the save data.
|
u64 blockSize; ///< Block size of the save data.
|
||||||
u64 ownerId; ///< Title id of the owner of this save data. 0 for SystemSaveData.
|
u64 ownerId; ///< Title id of the owner of this save data. 0 for SystemSaveData.
|
||||||
u32 flags; ///< Save data flags. See \ref FsSaveDataFlags.
|
u32 flags; ///< Save data flags. See \ref FsSaveDataFlags.
|
||||||
|
Loading…
Reference in New Issue
Block a user