strat: go all in on ncm::TitleId

This commit is contained in:
Michael Scire authored and SciresM committed 2019-07-11 22:24:59 -07:00
1 parent c916a7db88
commit 2d0c881ffe
33 files changed
+191 -186

No files matched your search

@@ -39,9 +39,9 @@ class SetMitmService : public IMitmServiceObject {
this->got_locale = false;
}
static bool ShouldMitm(u64 pid, u64 tid) {
static bool ShouldMitm(u64 pid, sts::ncm::TitleId tid) {
/* Mitm all applications. */
return tid == TitleId_Ns || TitleIdIsApplication(tid);
return tid == sts::ncm::TitleId::Ns || sts::ncm::IsApplicationTitleId(tid);
}
static void PostProcess(IMitmServiceObject *obj, IpcResponseContext *ctx);