Loading [MathJax]/extensions/MathMenu.js
Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
OSRtc.c File Reference

Functions

static SramControl Scb ATTRIBUTE_ALIGN (DOLPHIN_ALIGNMENT)
 
static int GetRTC (u32 *rtc)
 
static int ReadSram (void *buffer)
 
static void WriteSramCallback (s32, OSContext *)
 
static int WriteSram (void *buffer, u32 offset, u32 size)
 
static void * LockSram (u32 offset)
 
static int UnlockSram (int commit, u32 offset)
 
static void __OSReadROMCallback (s32 chan)
 
int __OSGetRTC (u32 *rtc)
 
int __OSSetRTC (u32 rtc)
 
void __OSInitSram (void)
 
OSSram__OSLockSram (void)
 
OSSramEx__OSLockSramEx (void)
 
int __OSUnlockSram (int commit)
 
int __OSUnlockSramEx (int commit)
 
int __OSSyncSram (void)
 
int __OSCheckSram (void)
 
int __OSReadROM (void *buffer, s32 length, s32 offset)
 
int __OSReadROMAsync (void *buffer, s32 length, s32 offset, void(*callback)())
 
u32 OSGetSoundMode (void)
 
void OSSetSoundMode (u32 mode)
 
u32 OSGetProgressiveMode (void)
 
void OSSetProgressiveMode (u32 on)
 
u32 OSGetVideoMode (void)
 
void OSSetVideoMode (u32 mode)
 
u8 OSGetLanguage (void)
 
void OSSetLanguage (u8 language)
 
u8 __OSGetBootMode (void)
 
void __OSSetBootMode (u8 ntd)
 
u32 OSGetEuRgb60Mode (void)
 
void OSSetEuRgb60Mode (u32 on)
 
u16 OSGetWirelessID (s32 chan)
 
void OSSetWirelessID (s32 chan, u16 id)
 
u16 OSGetGbsMode (void)
 
void OSSetGbsMode (u16 mode)
 

Function Documentation

◆ __OSCheckSram()

int __OSCheckSram ( void )

◆ __OSGetBootMode()

u8 __OSGetBootMode ( void )

◆ __OSGetRTC()

int __OSGetRTC ( u32 * rtc)

◆ __OSInitSram()

void __OSInitSram ( void )

◆ __OSLockSram()

OSSram * __OSLockSram ( void )

◆ __OSLockSramEx()

OSSramEx * __OSLockSramEx ( void )

◆ __OSReadROM()

int __OSReadROM ( void * buffer,
s32 length,
s32 offset )

◆ __OSReadROMAsync()

int __OSReadROMAsync ( void * buffer,
s32 length,
s32 offset,
void(* callback )() )

◆ __OSReadROMCallback()

static void __OSReadROMCallback ( s32 chan)
static

◆ __OSSetBootMode()

void __OSSetBootMode ( u8 ntd)

◆ __OSSetRTC()

int __OSSetRTC ( u32 rtc)

◆ __OSSyncSram()

int __OSSyncSram ( void )

◆ __OSUnlockSram()

int __OSUnlockSram ( int commit)

◆ __OSUnlockSramEx()

int __OSUnlockSramEx ( int commit)

◆ ATTRIBUTE_ALIGN()

static SramControl Scb ATTRIBUTE_ALIGN ( DOLPHIN_ALIGNMENT )
static

◆ GetRTC()

static int GetRTC ( u32 * rtc)
static

◆ LockSram()

static void * LockSram ( u32 offset)
static

◆ OSGetEuRgb60Mode()

u32 OSGetEuRgb60Mode ( void )

◆ OSGetGbsMode()

u16 OSGetGbsMode ( void )

◆ OSGetLanguage()

u8 OSGetLanguage ( void )

◆ OSGetProgressiveMode()

u32 OSGetProgressiveMode ( void )

◆ OSGetSoundMode()

u32 OSGetSoundMode ( void )

◆ OSGetVideoMode()

u32 OSGetVideoMode ( void )

◆ OSGetWirelessID()

u16 OSGetWirelessID ( s32 chan)

◆ OSSetEuRgb60Mode()

void OSSetEuRgb60Mode ( u32 on)

◆ OSSetGbsMode()

void OSSetGbsMode ( u16 mode)

◆ OSSetLanguage()

void OSSetLanguage ( u8 language)

◆ OSSetProgressiveMode()

void OSSetProgressiveMode ( u32 on)

◆ OSSetSoundMode()

void OSSetSoundMode ( u32 mode)

◆ OSSetVideoMode()

void OSSetVideoMode ( u32 mode)

◆ OSSetWirelessID()

void OSSetWirelessID ( s32 chan,
u16 id )

◆ ReadSram()

static int ReadSram ( void * buffer)
static

◆ UnlockSram()

static int UnlockSram ( int commit,
u32 offset )
static

◆ WriteSram()

static int WriteSram ( void * buffer,
u32 offset,
u32 size )
static

◆ WriteSramCallback()

static void WriteSramCallback ( s32 ,
OSContext *  )
static