Mario Kart 64
Loading...
Searching...
No Matches
contpfs.c File Reference
#include "libultra_internal.h"
#include "controller.h"
Include dependency graph for contpfs.c:

Functions

u16 __osSumcalc (u8 *ptr, int length)
 
s32 __osIdCheckSum (u16 *ptr, u16 *csum, u16 *icsum)
 
s32 __osRepairPackId (OSPfs *pfs, __OSPackId *badid, __OSPackId *newid)
 
s32 __osCheckPackId (OSPfs *pfs, __OSPackId *temp)
 
s32 __osGetId (OSPfs *pfs)
 
s32 __osCheckId (OSPfs *pfs)
 
s32 __osPfsRWInode (OSPfs *pfs, __OSInode *inode, u8 flag, u8 bank)
 
s32 __osPfsSelectBank (OSPfs *pfs)
 

Function Documentation

◆ __osCheckId()

s32 __osCheckId ( OSPfs * pfs)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __osCheckPackId()

s32 __osCheckPackId ( OSPfs * pfs,
__OSPackId * temp )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __osGetId()

s32 __osGetId ( OSPfs * pfs)
Todo
remove magic constant
Todo
loads of magic constants..
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __osIdCheckSum()

s32 __osIdCheckSum ( u16 * ptr,
u16 * csum,
u16 * icsum )
Here is the caller graph for this function:

◆ __osPfsRWInode()

s32 __osPfsRWInode ( OSPfs * pfs,
__OSInode * inode,
u8 flag,
u8 bank )
Todo
don't like this =/ //maybe &inode->inode_table[j*PFS_ONE_PAGE].ipage or something
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __osPfsSelectBank()

s32 __osPfsSelectBank ( OSPfs * pfs)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __osRepairPackId()

s32 __osRepairPackId ( OSPfs * pfs,
__OSPackId * badid,
__OSPackId * newid )
Todo
fix magic number
Todo
remove magic constant
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __osSumcalc()

u16 __osSumcalc ( u8 * ptr,
int length )
Here is the caller graph for this function: