diff --git a/Source/Atmosphere/stratosphere/loader/source/oc/oc_common.hpp b/Source/Atmosphere/stratosphere/loader/source/oc/oc_common.hpp index a56588e6..ac658c3a 100644 --- a/Source/Atmosphere/stratosphere/loader/source/oc/oc_common.hpp +++ b/Source/Atmosphere/stratosphere/loader/source/oc/oc_common.hpp @@ -58,8 +58,8 @@ namespace ams::ldr { namespace ams::ldr::hoc { template struct PatcherEntry { - using patternFn = bool(*)(Pointer* ptr); - using patcherFn = Result(*)(Pointer* ptr); + using patternFn = bool(*)(Pointer *ptr); + using patcherFn = Result(*)(Pointer *ptr); const char* description; patcherFn patcher_fn = nullptr; @@ -79,7 +79,7 @@ namespace ams::ldr::hoc { Result SearchAndApply(Pointer *ptr) { bool searchOk = false; - if (pattern_search_fn) { + if (pattern_search_fn), { if (pattern_search_fn(ptr)) { searchOk = true; } diff --git a/Source/Atmosphere/stratosphere/loader/source/oc/oc_log.cpp b/Source/Atmosphere/stratosphere/loader/source/oc/oc_log.cpp index c6d68bbd..660b1f50 100644 --- a/Source/Atmosphere/stratosphere/loader/source/oc/oc_log.cpp +++ b/Source/Atmosphere/stratosphere/loader/source/oc/oc_log.cpp @@ -126,7 +126,7 @@ namespace ams::ldr::hoc { SmcRebootToIramPayload(); - while(true){} + while(true) { } } #endif } diff --git a/Source/Atmosphere/stratosphere/loader/source/oc/ptm/ptm.hpp b/Source/Atmosphere/stratosphere/loader/source/oc/ptm/ptm.hpp index 9928516a..f1811085 100644 --- a/Source/Atmosphere/stratosphere/loader/source/oc/ptm/ptm.hpp +++ b/Source/Atmosphere/stratosphere/loader/source/oc/ptm/ptm.hpp @@ -22,7 +22,7 @@ namespace ams::ldr::hoc::ptm { - typedef struct { + struct perf_conf_entry { u32 conf_id; u32 cpu_freq_1; // min-max pair? u32 cpu_freq_2; @@ -31,7 +31,7 @@ namespace ams::ldr::hoc::ptm { u32 emc_freq_1; u32 emc_freq_2; u32 padding; - } perf_conf_entry; + }; constexpr u32 entryCnt = 16; constexpr u32 cpuPtmDefault = 1020'000'000;