From 2ebf20bfdf4b14aa4c4c3821818942bd8bc9aeb3 Mon Sep 17 00:00:00 2001 From: hanabbi Date: Wed, 28 Jun 2023 23:35:12 +0900 Subject: [PATCH] fix erista adjustment not setting quse_train register --- .../Atmosphere/stratosphere/loader/source/oc/pcv/pcv_erista.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv_erista.cpp b/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv_erista.cpp index 7250455e..851af181 100644 --- a/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv_erista.cpp +++ b/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv_erista.cpp @@ -41,6 +41,7 @@ void MemMtcTableAutoAdjust(EristaMtcTable* table) { #define WRITE_PARAM_ALL_REG(TABLE, PARAM, VALUE)\ TABLE->burst_regs.PARAM = VALUE; \ TABLE->shadow_regs_ca_train.PARAM = VALUE; \ + TABLE->shadow_regs_quse_train.PARAM = VALUE; \ TABLE->shadow_regs_rdwr_train.PARAM = VALUE; #define GET_CYCLE_CEIL(PARAM) u32(CEIL(double(PARAM) / tCK_avg))