mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-29 23:32:23 +00:00
fs.mitm: tweak conditions a little more.
This commit is contained in:
parent
dd255df90d
commit
67ff4fe913
1 changed files with 5 additions and 0 deletions
|
@ -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. */
|
||||||
|
|
Loading…
Reference in a new issue