jak-project/game/sce/libscf.h

44 lines
812 B
C
Raw Normal View History

#pragma once
#include "common/common_types.h"
2020-08-22 22:30:12 -04:00
#define SCE_JAPANESE_LANGUAGE 0
#define SCE_ENGLISH_LANGUAGE 1
#define SCE_FRENCH_LANGUAGE 2
#define SCE_SPANISH_LANGUAGE 3
#define SCE_GERMAN_LANGUAGE 4
#define SCE_ITALIAN_LANGUAGE 5
#define SCE_DUTCH_LANGUAGE 6
#define SCE_PORTUGUESE_LANGUAGE 7
#define SCE_ASPECT_43 0
#define SCE_ASPECT_FULL 1
#define SCE_ASPECT_169 2
namespace ee {
/*!
* Get the aspect ratio setting of the PS2.
* It is either 4:3, 16:9, or FULL.
*/
int sceScfGetAspect();
/*!
* Get the language setting of the PS2.
* Return a SONY SCE_LANGUAGE value, which differs from GOAL.
*/
int sceScfGetLanguage();
struct sceCdCLOCK {
u8 stat;
u8 second;
u8 minute;
u8 hour;
u8 week;
u8 day;
u8 month;
u8 year;
};
void sceCdReadClock(sceCdCLOCK* result);
2020-08-26 01:21:33 -04:00
} // namespace ee