From 3dfa505ca8712a9e0ee9d7536a83fac489633676 Mon Sep 17 00:00:00 2001 From: cathery Date: Fri, 13 Mar 2020 13:38:51 +0300 Subject: [PATCH] Reduce psc thread's memory --- source/Sysmodule/source/psc_module.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/Sysmodule/source/psc_module.cpp b/source/Sysmodule/source/psc_module.cpp index 7c0933d..99ea79e 100644 --- a/source/Sysmodule/source/psc_module.cpp +++ b/source/Sysmodule/source/psc_module.cpp @@ -15,13 +15,12 @@ namespace syscon::psc void PscThreadFunc(void *arg); - ams::os::StaticThread<0x2'000> g_psc_thread(&PscThreadFunc, nullptr, 0x2C); + ams::os::StaticThread<0x1'000> g_psc_thread(&PscThreadFunc, nullptr, 0x2C); bool is_psc_thread_running = false; void PscThreadFunc(void *arg) { - WriteToLog("Starting PSC thread!"); do { if (R_SUCCEEDED(waitSingle(pscModuleWaiter, U64_MAX))) {