wut
1.0.0-beta8
Wii U Toolchain
include
coreinit
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
16
struct
OSSystemInfo
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
28
OSSystemInfo
*
29
OSGetSystemInfo
();
30
31
BOOL
32
OSEnableHomeButtonMenu
(
BOOL
enable);
33
34
BOOL
35
OSIsHomeButtonMenuEnabled
();
36
37
#ifdef __cplusplus
38
}
39
#endif
40
OSGetSystemInfo
OSSystemInfo * OSGetSystemInfo()
OSIsHomeButtonMenuEnabled
BOOL OSIsHomeButtonMenuEnabled()
OSSystemInfo::baseTime
int64_t baseTime
Definition:
systeminfo.h:20
OSSystemInfo
Definition:
systeminfo.h:16
OSSystemInfo::coreClockSpeed
uint32_t coreClockSpeed
Definition:
systeminfo.h:19
wut.h
BOOL
int32_t BOOL
Definition:
wut_types.h:4
OSSystemInfo::busClockSpeed
uint32_t busClockSpeed
Definition:
systeminfo.h:18
OSEnableHomeButtonMenu
BOOL OSEnableHomeButtonMenu(BOOL enable)
Generated by
1.8.15