fs.mitm: tweak conditions a little more.

This commit is contained in:
Michael Scire 2018-11-29 12:20:08 -08:00
parent dd255df90d
commit 67ff4fe913

View File

@ -41,6 +41,11 @@ class FsMitmService : public IMitmServiceObject {
} }
static bool ShouldMitm(u64 pid, u64 tid) { static bool ShouldMitm(u64 pid, u64 tid) {
/* Don't Mitm KIPs */
if (pid < 0x50) {
return false;
}
static std::atomic_bool has_launched_qlaunch = false; static std::atomic_bool has_launched_qlaunch = false;
/* TODO: intercepting everything seems to cause issues with sleep mode, for some reason. */ /* TODO: intercepting everything seems to cause issues with sleep mode, for some reason. */