Update board_volt.cpp

This commit is contained in:
souldbminersmwc committed 2026-05-26 19:50:09 -04:00
1 parent 45332444ec
commit 715577a644
1 file changed
+1 -1
@@ -359,7 +359,7 @@ namespace board {
}
/* Assuming mariko. */
const u32 vmax = 800;
u32 vmax = GetSocType() == HocClkSocType_Mariko ? 800 : 950;
constexpr u32 GpuVoltageTableOffset = 312;
if (!std::memcmp(&buffer[index + GpuVoltageTableOffset], &vmax, sizeof(vmax))) {
std::memcpy(voltData.voltTable, &buffer[index + GpuVoltageTableOffset], sizeof(voltData.voltTable));