Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
NANDCheck.c File Reference

Functions

s32 nandCalcUsage (u32 *fsBlock, u32 *inode, const char *dir_list[])
 
ISFSError nandCalcUserUsage (u32 *fsBlock, u32 *inode)
 
static u32 nandCheck (const u32 reqBlock, const u32 reqInode, const u32 homeBlock, const u32 homeInode, const u32 userBlock, const u32 userInode)
 
s32 NANDCheck (const u32 fsBlock, const u32 inode, u32 *answer)
 

Variables

static const char * USER_DIR_LIST []
 

Function Documentation

◆ nandCalcUsage()

s32 nandCalcUsage ( u32 * fsBlock,
u32 * inode,
const char * dir_list[] )

◆ nandCalcUserUsage()

ISFSError nandCalcUserUsage ( u32 * fsBlock,
u32 * inode )

◆ NANDCheck()

s32 NANDCheck ( const u32 fsBlock,
const u32 inode,
u32 * answer )

◆ nandCheck()

static u32 nandCheck ( const u32 reqBlock,
const u32 reqInode,
const u32 homeBlock,
const u32 homeInode,
const u32 userBlock,
const u32 userInode )
static

Variable Documentation

◆ USER_DIR_LIST

const char* USER_DIR_LIST[]
static
Initial value:
= {
"/meta",
"/ticket",
"/title/00010000",
"/title/00010001",
"/title/00010003",
"/title/00010004",
"/title/00010005",
"/title/00010006",
"/title/00010007",
"/shared2/title",
NULL,
}