add isFirstLoad to context

This commit is contained in:
souldbminersmwc committed 2026-08-20 18:44:22 -04:00
1 parent 1f5fbdfae4
commit 4c0370d4a6
2 files changed
+5 -3

No files matched your search

@@ -83,9 +83,10 @@ typedef struct {
u16 kipVersion;
bool isKipLoaded;
bool rebootRequired;
bool isFirstLoad;
// Reserved for future use
u8 reserved[0x359];
u8 reserved[0x358];
} HocClkContext;
typedef struct
@@ -818,7 +818,8 @@ namespace clockManager {
gContext.dramID = board::GetDramID();
gContext.isDram8GB = board::IsDram8GB();
gContext.consoleType = board::GetConsoleType();
gContext.isFirstLoad = config::GetConfigValue(HocClkConfigValue_IsFirstLoad);
board::SetGpuSchedulingMode((GpuSchedulingMode)config::GetConfigValue(HocClkConfigValue_GPUScheduling),
(GpuSchedulingOverrideMethod)config::GetConfigValue(HocClkConfigValue_GPUSchedulingMethod));
gContext.gpuSchedulingMode = (GpuSchedulingMode)config::GetConfigValue(HocClkConfigValue_GPUScheduling);