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

This commit is contained in:
Michael Scire committed 2019-02-21 07:05:58 -08:00
1 parent 0288986e14
commit a0e06cf7b2
11 files changed
+727 -7

No files matched your search

@@ -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() {