remove typedef

This commit is contained in:
Lightos1 committed 2026-06-14 21:21:05 +02:00
1 parent dc7fa98d19
commit c18f3f1468
2 files changed
+3 -3

No files matched your search

@@ -79,7 +79,7 @@ namespace ams::ldr::hoc {
Result SearchAndApply(Pointer *ptr) { Result SearchAndApply(Pointer *ptr) {
bool searchOk = false; bool searchOk = false;
if (pattern_search_fn) { if (pattern_search_fn), {
if (pattern_search_fn(ptr)) { if (pattern_search_fn(ptr)) {
searchOk = true; searchOk = true;
} }
@@ -22,7 +22,7 @@
namespace ams::ldr::hoc::ptm { namespace ams::ldr::hoc::ptm {
typedef struct { struct perf_conf_entry {
u32 conf_id; u32 conf_id;
u32 cpu_freq_1; // min-max pair? u32 cpu_freq_1; // min-max pair?
u32 cpu_freq_2; u32 cpu_freq_2;
@@ -31,7 +31,7 @@ namespace ams::ldr::hoc::ptm {
u32 emc_freq_1; u32 emc_freq_1;
u32 emc_freq_2; u32 emc_freq_2;
u32 padding; u32 padding;
} perf_conf_entry; };
constexpr u32 entryCnt = 16; constexpr u32 entryCnt = 16;
constexpr u32 cpuPtmDefault = 1020'000'000; constexpr u32 cpuPtmDefault = 1020'000'000;