HOS 14.0.0 passed:

Extracting nca...
./43772e89bbf8147fef94a4e8d81f4810.nca (pcv) -> /Volumes/RAM/pcv/
./5110ceed5e759af52d8ad3efcd005580.nca (ptm) -> /Volumes/RAM/ptm/

Converting nca to elf...

Building and testing...
Patching pcv...
CpuClkOSLimit   Count: 1
CpuVoltLimit*   Count: 14
MemClkOSLimit   Count: 32
MemVoltHOS      Count: 2
MemClkPllmLimit Count: 2
	in void ams::ldr::oc::pcv::Erista::Patch(uintptr_t, size_t)
CpuClkOSLimit   Count: 1
CpuClkOfficial  Count: 1
GpuClkOfficial  Count: 1
CpuVoltOfficial Count: 13
MemClkOSLimit   Count: 32
GpuClkPllLimit  Count: 1
MemClkPllmLimit Count: 2
GpuAsmPattern   Count: 2
	in void ams::ldr::oc::pcv::Mariko::Patch(uintptr_t, size_t)
Passed!

Patching ptm...
cpuPtmBoost Count: 2
memPtmMax   Count: 9
memPtmAlt   Count: 7
	in void ams::ldr::oc::ptm::Patch(uintptr_t, size_t)
Passed!
This commit is contained in:
KazushiM
2022-03-23 13:51:48 +08:00
parent 26b0b66005
commit d6e2ac2527
3 changed files with 84 additions and 8 deletions

View File

@@ -55,8 +55,8 @@ static void* ReadFile(const char* file_loc, long* out_size) {
}
int main(int argc, char** argv) {
const char* pcv_opt = "-pcv";
const char* ptm_opt = "-ptm";
const char* pcv_opt = "pcv";
const char* ptm_opt = "ptm";
enum {
EXE_PCV,
EXE_PTM,
@@ -81,14 +81,16 @@ int main(int argc, char** argv) {
size_t exe_size = reinterpret_cast<size_t>(file_size * sizeof(char));
switch (option) {
case EXE_PCV:
printf("Patching %s...\n", pcv_opt);
ams::ldr::oc::pcv::Patch(mapped_exe, exe_size);
break;
case EXE_PTM:
printf("Patching %s...\n", ptm_opt);
ams::ldr::oc::ptm::Patch(mapped_exe, exe_size);
break;
}
free(file_buffer);
printf("Passed!\n");
printf("Passed!\n\n");
return 0;
}
#endif