From 06faabdddfb39af932040b88ab164c82b71c53e6 Mon Sep 17 00:00:00 2001 From: souldbminersmwc Date: Wed, 3 Sep 2025 20:56:24 -0400 Subject: [PATCH] Fix configurator --- .../Atmosphere/stratosphere/loader/source/oc/customize.cpp | 2 +- .../Atmosphere/stratosphere/loader/source/oc/customize.hpp | 2 +- docs/main.js | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Source/Atmosphere/stratosphere/loader/source/oc/customize.cpp b/Source/Atmosphere/stratosphere/loader/source/oc/customize.cpp index 153c08f3..10f64eb3 100644 --- a/Source/Atmosphere/stratosphere/loader/source/oc/customize.cpp +++ b/Source/Atmosphere/stratosphere/loader/source/oc/customize.cpp @@ -44,7 +44,7 @@ volatile CustomizeTable C = { * Value should be divided evenly by 12'500. * Not enabled by default. */ -.commonEmcMemVolt = 1212500, +.commonEmcMemVolt = 1175000, /* Erista CPU: * - Max Voltage in mV diff --git a/Source/Atmosphere/stratosphere/loader/source/oc/customize.hpp b/Source/Atmosphere/stratosphere/loader/source/oc/customize.hpp index a0ae51a8..60f8fa0c 100644 --- a/Source/Atmosphere/stratosphere/loader/source/oc/customize.hpp +++ b/Source/Atmosphere/stratosphere/loader/source/oc/customize.hpp @@ -16,7 +16,7 @@ #pragma once -#define CUST_REV 1 +#define CUST_REV 2 #include "oc_common.hpp" #include "pcv/pcv_common.hpp" diff --git a/docs/main.js b/docs/main.js index 34705edf..7e17376e 100644 --- a/docs/main.js +++ b/docs/main.js @@ -25,7 +25,7 @@ var __awaiter = this && this.__awaiter || function(e, t, i, n) { o((n = n.apply(e, t || [])).next()) })) }; -const CUST_REV_ADV = 1; +const CUST_REV_ADV = 2; var CustPlatform; ! function(e) { e[e.Undefined = 0] = "Undefined", e[e.Erista = 1] = "Erista", e[e.Mariko = 2] = "Mariko", e[e.All = 3] = "All" @@ -94,7 +94,7 @@ class AdvEntry extends CustEntry { } } class GpuEntry extends CustEntry { - constructor(e, t, i = CustPlatform.Mariko, n = 4, a = ["range: 610 ≤ x ≤ 960"], r = 610, s = [610, 960], l = 5, o = !1) { + constructor(e, t, i = CustPlatform.Mariko, n = 4, a = ["range: 480 ≤ x ≤ 960 (Zero is disabled)"], r = 480, s = [0, 960], l = 5, o = !1) { super(e, t, i, n, a, r, s, l, o), this.id = e, this.name = t, this.platform = i, this.size = n, this.desc = a, this.defval = r, this.step = l, this.zeroable = o } createElement() { @@ -483,7 +483,7 @@ class Cust { } parse() { let e = this.beginOffset + this.magicLen; - if (this.rev = this.mapper[4].get(e), 1 != this.rev) throw new Error(`Unsupported custRev, expected: 1, got ${this.rev}`); + if (this.rev = this.mapper[4].get(e), CUST_REV_ADV != this.rev) throw new Error(`Unsupported custRev, expected: 1, got ${this.rev}`); e += 4, document.getElementById("cust_rev").innerHTML = `Cust v${this.rev} is loaded.`; let t = t => { var i;