From 49d1e65496b7b3c44dbf321d9cbf7771d092d081 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Fri, 7 Dec 2018 03:26:06 -0800 Subject: [PATCH] tma: Fix nn.tma.PmModuleThread priority --- stratosphere/tma/source/tma_power_manager.cpp | 2 +- stratosphere/tma/tma.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/stratosphere/tma/source/tma_power_manager.cpp b/stratosphere/tma/source/tma_power_manager.cpp index 423b7cb90..d71de8592 100644 --- a/stratosphere/tma/source/tma_power_manager.cpp +++ b/stratosphere/tma/source/tma_power_manager.cpp @@ -59,7 +59,7 @@ static void PowerManagerThread(void *arg) { void TmaPowerManager::Initialize(void (*callback)(PscPmState, u32)) { g_pm_callback = callback; - g_pm_thread.Initialize(PowerManagerThread, nullptr, 0x4000, 0x15); + g_pm_thread.Initialize(PowerManagerThread, nullptr, 0x4000, 0x26); g_pm_thread.Start(); } diff --git a/stratosphere/tma/tma.json b/stratosphere/tma/tma.json index b1f3d99e3..81cbac6c6 100644 --- a/stratosphere/tma/tma.json +++ b/stratosphere/tma/tma.json @@ -112,7 +112,8 @@ "svcUnmapDeviceAddressSpace": "0x5c", "svcInvalidateProcessDataCache": "0x5d", "svcStoreProcessDataCache": "0x5e", - "svcFlushProcessDataCache": "0x5f" + "svcFlushProcessDataCache": "0x5f", + "svcCallSecureMonitor": "0x7f" } }, { "type": "map",