From c503629ac82a8b90aa0fa0fdbdbe34c9c04de4a7 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Wed, 23 Mar 2022 10:17:00 -0700 Subject: [PATCH] ams.mitm: fix reboot to payload --- stratosphere/ams_mitm/source/bpc_mitm/bpc_mitm_service.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stratosphere/ams_mitm/source/bpc_mitm/bpc_mitm_service.hpp b/stratosphere/ams_mitm/source/bpc_mitm/bpc_mitm_service.hpp index 6e2b00910..01a7c49ec 100644 --- a/stratosphere/ams_mitm/source/bpc_mitm/bpc_mitm_service.hpp +++ b/stratosphere/ams_mitm/source/bpc_mitm/bpc_mitm_service.hpp @@ -30,11 +30,12 @@ namespace ams::mitm::bpc { public: static bool ShouldMitm(const sm::MitmProcessInfo &client_info) { /* We will mitm: - * - am, to intercept the Reboot/Power buttons in the overlay menu. + * - am (omm on 14.0.0+), to intercept the Reboot/Power buttons in the overlay menu. * - fatal, to simplify payload reboot logic significantly * - hbl, to allow homebrew to take advantage of the feature. */ return client_info.program_id == ncm::SystemProgramId::Am || + client_info.program_id == ncm::SystemProgramId::Omm || client_info.program_id == ncm::SystemProgramId::Fatal || client_info.override_status.IsHbl(); }