From 94c8a0fd001a400b5e2bdb0c7ad2aadba8bdaa30 Mon Sep 17 00:00:00 2001 From: Lightos1 <124387232+Lightos1@users.noreply.github.com> Date: Sat, 10 Jan 2026 23:00:20 +0100 Subject: [PATCH] Add w2w patching (for 8gb) --- .../stratosphere/loader/source/oc/pcv/pcv_mariko.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv_mariko.cpp b/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv_mariko.cpp index 43bc3b7b..80e98e1c 100644 --- a/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv_mariko.cpp +++ b/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv_mariko.cpp @@ -496,6 +496,10 @@ namespace ams::ldr::oc::pcv::mariko { table->burst_mc_regs.mc_emem_arb_timing_r2r = CEIL(table->burst_regs.emc_rext / 4) - 1 + MC_ARB_SFA; } + if (table->burst_mc_regs.mc_emem_arb_timing_w2w > 1) { + table->burst_mc_regs.mc_emem_arb_timing_w2w = CEIL(table->burst_regs.emc_wext / MC_ARB_DIV) - 1 + MC_ARB_SFA; + } + table->burst_mc_regs.mc_emem_arb_timing_r2w = CEIL(tR2W / MC_ARB_DIV) - 1 + MC_ARB_SFA; table->burst_mc_regs.mc_emem_arb_timing_w2r = CEIL(tW2R / MC_ARB_DIV) - 1 + MC_ARB_SFA;