PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
osd_config.c File Reference
#include <tamtypes.h>
#include <kernel.h>
#include <stdio.h>
#include <sys/fcntl.h>
#include <sys/unistd.h>
#include <string.h>
#include <osd_config.h>
#include <rom0_info.h>
#include <fileio.h>
+ Include dependency graph for osd_config.c:

Go to the source code of this file.

Data Structures

struct  ConfigParamT10K
 

Macros

#define NEWLIB_PORT_AWARE
 
#define defaultIODriver   { (void *)fioOpen, fioClose, fioRead, FIO_O_RDONLY }
 

Functions

void converttobcd (sceCdCLOCK *time)
 
void convertfrombcd (sceCdCLOCK *time)
 
void __adjustTime (sceCdCLOCK *time, int offset)
 

Variables

ConfigParamT10K g_t10KConfig
 

Detailed Description

PS2 Configuration settings note: the 'set' methods are only valid till the ps2 gets turned off or reset!

Definition in file osd_config.c.


Data Structure Documentation

◆ ConfigParamT10K

struct ConfigParamT10K

config param data as stored on a DTL-T10000(H) TOOL

Definition at line 30 of file osd_config.c.

Data Fields
s16 timezoneOffset
u8 screenType
u8 dateFormat
u8 language
u8 spdifMode
u8 daylightSaving
u8 timeFormat

Macro Definition Documentation

◆ NEWLIB_PORT_AWARE

#define NEWLIB_PORT_AWARE

Definition at line 26 of file osd_config.c.

◆ defaultIODriver

#define defaultIODriver   { (void *)fioOpen, fioClose, fioRead, FIO_O_RDONLY }

Definition at line 41 of file osd_config.c.