mirror of
https://github.com/open-goal/jak-project
synced 2026-06-02 18:19:07 -04:00
1dff571820
Closes #1496 This brings back the SCE splash screens. Also adds a runtime flag `-nosplash` to skip it. Right now, it's on by default, but open to changes on that (maybe always disable in debug to speed up start times, etc.).
46 lines
851 B
C++
46 lines
851 B
C++
#pragma once
|
|
|
|
#include "common/common_types.h"
|
|
|
|
#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
|
|
// added
|
|
#define SCE_KOREAN_LANGUAGE 8
|
|
|
|
#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);
|
|
} // namespace ee
|