From 67ff4fe913eaa469f78e151cccb8b240298263b7 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Thu, 29 Nov 2018 12:20:08 -0800 Subject: [PATCH] fs.mitm: tweak conditions a little more. --- stratosphere/fs_mitm/source/fsmitm_service.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stratosphere/fs_mitm/source/fsmitm_service.hpp b/stratosphere/fs_mitm/source/fsmitm_service.hpp index 483bf8c33..e7d2ad571 100644 --- a/stratosphere/fs_mitm/source/fsmitm_service.hpp +++ b/stratosphere/fs_mitm/source/fsmitm_service.hpp @@ -41,6 +41,11 @@ class FsMitmService : public IMitmServiceObject { } static bool ShouldMitm(u64 pid, u64 tid) { + /* Don't Mitm KIPs */ + if (pid < 0x50) { + return false; + } + static std::atomic_bool has_launched_qlaunch = false; /* TODO: intercepting everything seems to cause issues with sleep mode, for some reason. */