mirror of
https://github.com/zeldaret/ss
synced 2026-07-11 22:50:06 -04:00
nw4r ut almost matching
This commit is contained in:
@@ -66,7 +66,7 @@ typedef enum {
|
||||
NAND_PERM_RWALL = NAND_PERM_RALL | NAND_PERM_WALL
|
||||
} NANDPermission;
|
||||
|
||||
typedef void (*NANDAsyncCallback)(s32 result, struct NANDCommandBlock *block);
|
||||
typedef void (*NANDAsyncCallback)(long result, struct NANDCommandBlock *block);
|
||||
|
||||
typedef struct NANDStatus {
|
||||
u32 ownerId; // at 0x0
|
||||
@@ -76,8 +76,8 @@ typedef struct NANDStatus {
|
||||
} NANDStatus;
|
||||
|
||||
typedef struct NANDFileInfo {
|
||||
s32 fd; // at 0x0
|
||||
s32 tempFd; // at 0x4
|
||||
long fd; // at 0x0
|
||||
long tempFd; // at 0x4
|
||||
char openPath[FS_MAX_PATH]; // at 0x8
|
||||
char tempPath[FS_MAX_PATH]; // at 0x48
|
||||
u8 access; // at 0x88
|
||||
@@ -118,6 +118,7 @@ typedef struct NANDCommandBlock {
|
||||
u32 workBlocks; // at 0xAC
|
||||
u32 workInodes; // at 0xB0
|
||||
const char **dir; // at 0xB4
|
||||
int simpleFlag; //
|
||||
} NANDCommandBlock;
|
||||
|
||||
typedef struct NANDBanner {
|
||||
@@ -157,7 +158,7 @@ NANDResult NANDPrivateCreateDirAsync(const char *path, u8 perm, u8 attr, NANDAsy
|
||||
|
||||
NANDResult NANDMove(const char *from, const char *to);
|
||||
|
||||
NANDResult NANDGetLength(NANDFileInfo *info, u32 *length);
|
||||
NANDResult NANDGetLength(NANDFileInfo *info, unsigned long *length);
|
||||
NANDResult NANDGetLengthAsync(NANDFileInfo *info, u32 *lengthOut, NANDAsyncCallback callback, NANDCommandBlock *block);
|
||||
|
||||
NANDResult NANDGetStatus(const char *path, NANDStatus *status);
|
||||
|
||||
Reference in New Issue
Block a user