mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-09 22:56:35 +00:00
ams.mitm: fix reboot to payload
This commit is contained in:
parent
6b436739be
commit
c503629ac8
1 changed files with 2 additions and 1 deletions
|
@ -30,11 +30,12 @@ namespace ams::mitm::bpc {
|
||||||
public:
|
public:
|
||||||
static bool ShouldMitm(const sm::MitmProcessInfo &client_info) {
|
static bool ShouldMitm(const sm::MitmProcessInfo &client_info) {
|
||||||
/* We will mitm:
|
/* 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
|
* - fatal, to simplify payload reboot logic significantly
|
||||||
* - hbl, to allow homebrew to take advantage of the feature.
|
* - hbl, to allow homebrew to take advantage of the feature.
|
||||||
*/
|
*/
|
||||||
return client_info.program_id == ncm::SystemProgramId::Am ||
|
return client_info.program_id == ncm::SystemProgramId::Am ||
|
||||||
|
client_info.program_id == ncm::SystemProgramId::Omm ||
|
||||||
client_info.program_id == ncm::SystemProgramId::Fatal ||
|
client_info.program_id == ncm::SystemProgramId::Fatal ||
|
||||||
client_info.override_status.IsHbl();
|
client_info.override_status.IsHbl();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue