version 1.5

This commit is contained in:
hanabbi
2023-06-02 23:22:06 +09:00
parent a20c62d2e7
commit 42aa6ce164
5 changed files with 12 additions and 11 deletions

View File

@@ -16,7 +16,7 @@
#pragma once
#define CUST_REV 6
#define CUST_REV 7
#include "oc_common.hpp"
#include "pcv/pcv_common.hpp"
@@ -27,8 +27,9 @@ namespace ams::ldr::oc {
enum MtcConfig: u32 {
AUTO_ADJ_SAFE_MARIKO = 0,
NO_ADJ_ALL = 1,
CUSTOM_ADJ_MARIKO = 2,
CUSTOM_ADJ_MARIKO = 1,
NO_ADJ_ALL = 2,
CUSTOMIZED_ALL = 4,
};

View File

@@ -57,9 +57,9 @@ Result MemFreqMtcTable(u32* ptr) {
PATCH_OFFSET(ptr, C.eristaEmcMaxClock);
// Handle customize table replacement
if (C.mtcConf == CUSTOMIZED_ALL) {
MemMtcCustomizeTable(table_list[0], const_cast<EristaMtcTable *>(C.eristaMtcTable));
}
//if (C.mtcConf == CUSTOMIZED_ALL) {
// MemMtcCustomizeTable(table_list[0], const_cast<EristaMtcTable *>(C.eristaMtcTable));
//}
R_SUCCEED();
}