From 76ad99a32fc87c6322d5f44a6c143d87d9c4b5c3 Mon Sep 17 00:00:00 2001 From: Lightos1 <124387232+Lightos1@users.noreply.github.com> Date: Sat, 27 Dec 2025 00:43:30 +0100 Subject: [PATCH 1/2] mem_burst_read/write_latency: change to s32 --- Source/Atmosphere/stratosphere/loader/source/oc/customize.cpp | 4 ++-- Source/Atmosphere/stratosphere/loader/source/oc/customize.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Atmosphere/stratosphere/loader/source/oc/customize.cpp b/Source/Atmosphere/stratosphere/loader/source/oc/customize.cpp index f18481db..43c7ded4 100644 --- a/Source/Atmosphere/stratosphere/loader/source/oc/customize.cpp +++ b/Source/Atmosphere/stratosphere/loader/source/oc/customize.cpp @@ -52,8 +52,8 @@ volatile CustomizeTable C = { .t7_tWTR = 0, .t8_tREFI = 0, -/* Set to 4 read and 2 write for 1866bl. */ -/* For 2131bl: 8 read and 4 write. */ +/* Set to 4 read and 2 write for 1866b tWRL. */ +/* For 2133 tWRL: 8 read and 4 write. */ .mem_burst_read_latency = 8, .mem_burst_write_latency = 4, diff --git a/Source/Atmosphere/stratosphere/loader/source/oc/customize.hpp b/Source/Atmosphere/stratosphere/loader/source/oc/customize.hpp index 19609e90..baca9a1c 100644 --- a/Source/Atmosphere/stratosphere/loader/source/oc/customize.hpp +++ b/Source/Atmosphere/stratosphere/loader/source/oc/customize.hpp @@ -74,8 +74,8 @@ typedef struct CustomizeTable { u32 t7_tWTR; u32 t8_tREFI; - u32 mem_burst_read_latency; - u32 mem_burst_write_latency; + s32 mem_burst_read_latency; + s32 mem_burst_write_latency; u32 eristaCpuUV; u32 eristaCpuVmin; From c22d6e2c1bd729e10636f0e2319839cb2079cf74 Mon Sep 17 00:00:00 2001 From: Lightos1 <124387232+Lightos1@users.noreply.github.com> Date: Sat, 27 Dec 2025 00:56:06 +0100 Subject: [PATCH 2/2] Revert s32 to u32 --- Source/Atmosphere/stratosphere/loader/source/oc/customize.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Atmosphere/stratosphere/loader/source/oc/customize.hpp b/Source/Atmosphere/stratosphere/loader/source/oc/customize.hpp index baca9a1c..19609e90 100644 --- a/Source/Atmosphere/stratosphere/loader/source/oc/customize.hpp +++ b/Source/Atmosphere/stratosphere/loader/source/oc/customize.hpp @@ -74,8 +74,8 @@ typedef struct CustomizeTable { u32 t7_tWTR; u32 t8_tREFI; - s32 mem_burst_read_latency; - s32 mem_burst_write_latency; + u32 mem_burst_read_latency; + u32 mem_burst_write_latency; u32 eristaCpuUV; u32 eristaCpuVmin;