Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion include/coreinit/systeminfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@ typedef struct OSSystemInfo OSSystemInfo;
struct OSSystemInfo
{
uint32_t busClockSpeed;
//! Equal to busClockSpeed * coreClockRatio
uint32_t coreClockSpeed;
int64_t baseTime;
WUT_UNKNOWN_BYTES(0x10);
uint32_t l2CacheSize[3];
uint32_t coreClockRatio;
};
WUT_CHECK_OFFSET(OSSystemInfo, 0x0, busClockSpeed);
WUT_CHECK_OFFSET(OSSystemInfo, 0x4, coreClockSpeed);
WUT_CHECK_OFFSET(OSSystemInfo, 0x8, baseTime);
WUT_CHECK_OFFSET(OSSystemInfo, 0x10, l2CacheSize);
WUT_CHECK_OFFSET(OSSystemInfo, 0x1c, coreClockRatio);
WUT_CHECK_SIZE(OSSystemInfo, 0x20);

OSSystemInfo *
Expand Down
Loading