fix GpuClkOsLimit name

This commit is contained in:
Lightos1
2026-04-08 22:17:28 +02:00
parent 07dd65eebf
commit 7e42394894
2 changed files with 2 additions and 2 deletions

View File

@@ -119,7 +119,7 @@ namespace ams::ldr::hoc::pcv {
static_assert(sizeof(regulator) == 0x120);
constexpr u32 CpuClkOSLimit = 1785'000;
constexpr u32 GpuOsLimit = 921'600;
constexpr u32 GpuClkOsLimit = 921'600;
constexpr u32 EmcClkOSLimit = 1600'000;
#define R_SKIP() R_SUCCEED()

View File

@@ -280,7 +280,7 @@ namespace ams::ldr::hoc::pcv::mariko {
/* Verify the limit. */
/* TODO: Make this a little bit cleaner at some point. */
if (AsmGetImm16(ins1) != (GpuOsLimit & 0xFFFF) || AsmGetImm16(ins2) != (GpuOsLimit >> 16)) {
if (AsmGetImm16(ins1) != (GpuClkOsLimit & 0xFFFF) || AsmGetImm16(ins2) != (GpuClkOsLimit >> 16)) {
R_THROW(ldr::ResultInvalidGpuFreqMaxPattern());
}