wut  1.0.0-beta8
Wii U Toolchain
systeminfo.h
Go to the documentation of this file.
1 #pragma once
2 #include <wut.h>
3 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 typedef struct OSSystemInfo OSSystemInfo;
15 
17 {
18  uint32_t busClockSpeed;
19  uint32_t coreClockSpeed;
20  int64_t baseTime;
21  WUT_UNKNOWN_BYTES(0x10);
22 };
23 WUT_CHECK_OFFSET(OSSystemInfo, 0x0, busClockSpeed);
24 WUT_CHECK_OFFSET(OSSystemInfo, 0x4, coreClockSpeed);
25 WUT_CHECK_OFFSET(OSSystemInfo, 0x8, baseTime);
26 WUT_CHECK_SIZE(OSSystemInfo, 0x20);
27 
30 
31 BOOL
33 
34 BOOL
36 
37 #ifdef __cplusplus
38 }
39 #endif
40 
OSSystemInfo * OSGetSystemInfo()
BOOL OSIsHomeButtonMenuEnabled()
int64_t baseTime
Definition: systeminfo.h:20
uint32_t coreClockSpeed
Definition: systeminfo.h:19
int32_t BOOL
Definition: wut_types.h:4
uint32_t busClockSpeed
Definition: systeminfo.h:18
BOOL OSEnableHomeButtonMenu(BOOL enable)