fix GpuClkOsLimit name
This commit is contained in:
@@ -119,7 +119,7 @@ namespace ams::ldr::hoc::pcv {
|
|||||||
static_assert(sizeof(regulator) == 0x120);
|
static_assert(sizeof(regulator) == 0x120);
|
||||||
|
|
||||||
constexpr u32 CpuClkOSLimit = 1785'000;
|
constexpr u32 CpuClkOSLimit = 1785'000;
|
||||||
constexpr u32 GpuOsLimit = 921'600;
|
constexpr u32 GpuClkOsLimit = 921'600;
|
||||||
constexpr u32 EmcClkOSLimit = 1600'000;
|
constexpr u32 EmcClkOSLimit = 1600'000;
|
||||||
|
|
||||||
#define R_SKIP() R_SUCCEED()
|
#define R_SKIP() R_SUCCEED()
|
||||||
|
|||||||
@@ -280,7 +280,7 @@ namespace ams::ldr::hoc::pcv::mariko {
|
|||||||
|
|
||||||
/* Verify the limit. */
|
/* Verify the limit. */
|
||||||
/* TODO: Make this a little bit cleaner at some point. */
|
/* 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());
|
R_THROW(ldr::ResultInvalidGpuFreqMaxPattern());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user