exo/bpc.mitm: Add support for proper shutdown.

This commit is contained in:
Michael Scire
2019-02-21 07:05:58 -08:00
parent 0288986e14
commit a0e06cf7b2
11 changed files with 727 additions and 7 deletions

View File

@@ -25,8 +25,9 @@ void BpcMitmService::PostProcess(IMitmServiceObject *obj, IpcResponseContext *ct
}
Result BpcMitmService::ShutdownSystem() {
/* TODO: Use exosphere + reboot to perform real shutdown, instead of fake shutdown. */
return RESULT_FORWARD_TO_SESSION;
/* Use exosphere + reboot to perform real shutdown, instead of fake shutdown. */
PerformShutdownSmc();
return 0;
}
Result BpcMitmService::RebootSystem() {