mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:24:17 +01:00
48 lines
726 B
C
48 lines
726 B
C
#pragma once
|
|
#include <wut.h>
|
|
|
|
/**
|
|
* \defgroup coreinit_systeminfo System Info
|
|
* \ingroup coreinit
|
|
* @{
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct OSSystemInfo OSSystemInfo;
|
|
|
|
struct OSSystemInfo
|
|
{
|
|
uint32_t busClockSpeed;
|
|
uint32_t coreClockSpeed;
|
|
int64_t baseTime;
|
|
WUT_UNKNOWN_BYTES(0x10);
|
|
};
|
|
WUT_CHECK_OFFSET(OSSystemInfo, 0x0, busClockSpeed);
|
|
WUT_CHECK_OFFSET(OSSystemInfo, 0x4, coreClockSpeed);
|
|
WUT_CHECK_OFFSET(OSSystemInfo, 0x8, baseTime);
|
|
WUT_CHECK_SIZE(OSSystemInfo, 0x20);
|
|
|
|
OSSystemInfo *
|
|
OSGetSystemInfo();
|
|
|
|
BOOL
|
|
OSEnableHomeButtonMenu(BOOL enable);
|
|
|
|
BOOL
|
|
OSIsHomeButtonMenuEnabled();
|
|
|
|
uint64_t
|
|
OSGetOSID();
|
|
|
|
uint32_t
|
|
__OSGetProcessSDKVersion();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
/** @} */
|