From d9e432a1dfc7a0aaa00b34b087b191afb9a90ab5 Mon Sep 17 00:00:00 2001 From: ARandomOSDever <104090029+ARandomOSDever@users.noreply.github.com> Date: Sat, 28 Nov 2026 18:55:22 +0200 Subject: [PATCH] Update unknown bytes in OSSystemInfo Names are from [Cemu](https://github.com/cemu-project/Cemu/blob/2f49c079da1d50b85cea0ed99aedda58846b3523/src/Cafe/OS/libs/coreinit/coreinit_SystemInfo.h#L6)/[Decaf](https://github.com/decaf-emu/decaf-emu/blob/e6c528a20a41c34e0f9eb91dd3da40f119db2dee/src/libdecaf/src/cafe/libraries/coreinit/coreinit_systeminfo.h#L15) --- include/coreinit/systeminfo.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/coreinit/systeminfo.h b/include/coreinit/systeminfo.h index 7c4dc37a2..d8535b748 100644 --- a/include/coreinit/systeminfo.h +++ b/include/coreinit/systeminfo.h @@ -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 *