mirror of
https://github.com/devkitPro/wut.git
synced 2026-07-01 00:40:02 -05:00
coreinit: Add missing FSGetVolumeInfo to coreinit
This commit is contained in:
parent
ce2cd4e843
commit
42be83dd8c
|
|
@ -34,6 +34,7 @@ typedef struct FSMessage FSMessage;
|
|||
typedef struct FSMountSource FSMountSource;
|
||||
typedef struct FSStat FSStat;
|
||||
typedef struct FSStateChangeInfo FSStateChangeInfo;
|
||||
typedef struct FSVolumeInfo FSVolumeInfo;
|
||||
|
||||
typedef enum FSErrorFlag
|
||||
{
|
||||
|
|
@ -271,6 +272,15 @@ struct FSMountSource
|
|||
};
|
||||
WUT_CHECK_SIZE(FSMountSource, 0x300);
|
||||
|
||||
struct WUT_PACKED FSVolumeInfo
|
||||
{
|
||||
WUT_UNKNOWN_BYTES(0xAC);
|
||||
char volumeId[16];
|
||||
WUT_UNKNOWN_BYTES(0x100);
|
||||
};
|
||||
WUT_CHECK_OFFSET(FSVolumeInfo, 0xAC, volumeId);
|
||||
WUT_CHECK_SIZE(FSVolumeInfo, 444);
|
||||
|
||||
void
|
||||
FSInit();
|
||||
|
||||
|
|
@ -436,6 +446,21 @@ FSCloseDir(FSClient *client,
|
|||
FSDirectoryHandle handle,
|
||||
FSErrorFlag errorMask);
|
||||
|
||||
FSStatus
|
||||
FSGetVolumeInfo(FSClient *client,
|
||||
FSCmdBlock *block,
|
||||
const char *path,
|
||||
FSVolumeInfo *volumeInfo,
|
||||
FSErrorFlag errorMask);
|
||||
|
||||
FSStatus
|
||||
FSGetVolumeInfoAsync(FSClient *client,
|
||||
FSCmdBlock *block,
|
||||
const char *path,
|
||||
FSVolumeInfo *volumeInfo,
|
||||
FSErrorFlag errorMask,
|
||||
FSAsyncData *asyncData);
|
||||
|
||||
FSStatus
|
||||
FSCloseDirAsync(FSClient *client,
|
||||
FSCmdBlock *block,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user