This commit is contained in:
souldbminersmwc
2026-05-28 16:36:24 -04:00
2 changed files with 9 additions and 6 deletions

View File

@@ -3,6 +3,8 @@
* *
* Copyright (c) 2023 hanai3Bi * Copyright (c) 2023 hanai3Bi
* *
* Copyright (c) B3711
*
* Copyright (c) Souldbminer, Lightos_ and Horizon OC Contributors * Copyright (c) Souldbminer, Lightos_ and Horizon OC Contributors
* *
* This program is free software; you can redistribute it and/or modify it * This program is free software; you can redistribute it and/or modify it

View File

@@ -3,6 +3,8 @@
* *
* Copyright (c) 2023 hanai3Bi * Copyright (c) 2023 hanai3Bi
* *
* Copyright (c) B3711
*
* Copyright (c) Souldbminer and Horizon OC Contributors * Copyright (c) Souldbminer and Horizon OC Contributors
* *
* This program is free software; you can redistribute it and/or modify it * This program is free software; you can redistribute it and/or modify it
@@ -50,9 +52,8 @@ namespace ams::ldr::hoc::pcv::mariko {
R_THROW(ldr::ResultInvalidGpuDvfs()); R_THROW(ldr::ResultInvalidGpuDvfs());
} }
if (C.marikoGpuBootVolt) {
if(C.marikoGpuBootVolt) { PATCH_OFFSET(ptr - 3, C.marikoGpuBootVolt);
PATCH_OFFSET(ptr - 3, C.marikoGpuBootVolt);
} }
if (C.marikoGpuVmin) { if (C.marikoGpuVmin) {
@@ -864,7 +865,7 @@ namespace ams::ldr::hoc::pcv::mariko {
{ 3133000, { DVB(DvbVolt(1025, 1000, 975)) }, }, { 3133000, { DVB(DvbVolt(1025, 1000, 975)) }, },
{ 3166000, { DVB(DvbVolt(1037, 1012, 987)) }, }, { 3166000, { DVB(DvbVolt(1037, 1012, 987)) }, },
{ 3200000, { DVB(DvbVolt(1050, 1025, 1000)) }, }, { 3200000, { DVB(DvbVolt(1050, 1025, 1000)) }, },
{ ~0u, { }, }, { ~0u, { }, },
}; };
#undef DVB #undef DVB
DvbEntry emcDvbTableOc[newEmcList.size()]; DvbEntry emcDvbTableOc[newEmcList.size()];