Save 5KiB heap space from pcv; Separate configurator entries with tabs

This commit is contained in:
KazushiM committed 2023-01-31 22:24:06 +08:00
1 parent f47e7604fe
commit a5e63bc034
7 files changed
+275 -143

No files matched your search

@@ -103,8 +103,6 @@ void SafetyCheck() {
{ C.commonEmcMemVolt, 1100'000, 1250'000 },
};
printf("marikoCpuMaxClock: %u\n", C.marikoCpuMaxClock);
for (auto& i : validators) {
if (R_FAILED(i.check()))
CRASH("Triggered");
@@ -22,8 +22,8 @@ def file_replace_str(file_path, search_replace_list):
dir_path = os.path.dirname(__file__)
ldr_main = os.path.join(dir_path, "ldr_main.cpp")
file_replace_str(ldr_main, [("constinit u8 g_heap_memory[16_KB];", "constinit u8 g_heap_memory[16_KB + 5_KB];")])
os.chdir(dir_path)
os.system("git reset --hard")
ldr_process_creation = os.path.join(dir_path, "ldr_process_creation.cpp")
file_replace_str(ldr_process_creation,