2017-10-16 11:55:29 +02:00
|
|
|
#ifndef _SYS_H_
|
|
|
|
#define _SYS_H_
|
|
|
|
|
2024-05-02 20:28:53 -05:00
|
|
|
#define IS_WIIU (*(vu16*)0xCD8005A0 == 0xCAFE)
|
2024-04-27 12:17:23 -05:00
|
|
|
|
2022-04-19 11:39:21 +01:00
|
|
|
extern u32 boot2version;
|
2024-04-27 12:17:23 -05:00
|
|
|
|
2017-10-16 11:55:29 +02:00
|
|
|
/* Prototypes */
|
|
|
|
bool isIOSstub(u8 ios_number);
|
2024-03-01 09:31:12 -05:00
|
|
|
bool tmdIsStubIOS(tmd*);
|
2017-10-16 11:55:29 +02:00
|
|
|
bool loadIOS(int ios);
|
2024-04-27 12:17:23 -05:00
|
|
|
bool ES_CheckHasKoreanKey(void);
|
2017-10-16 11:55:29 +02:00
|
|
|
void Sys_Init(void);
|
|
|
|
void Sys_Reboot(void);
|
|
|
|
void Sys_Shutdown(void);
|
|
|
|
s32 Sys_GetCerts(signed_blob **, u32 *);
|
2023-02-19 21:21:09 +01:00
|
|
|
void SetPRButtons(bool enabled);
|
2017-10-16 11:55:29 +02:00
|
|
|
|
|
|
|
#endif
|