ams_mitm: Implement system settings mitm

This commit is contained in:
Michael Scire
2019-11-26 20:58:39 -08:00
committed by SciresM
parent 55610694c8
commit c10ba67973
25 changed files with 655 additions and 30 deletions

View File

@@ -15,6 +15,7 @@
*/
#include "amsmitm_initialization.hpp"
#include "amsmitm_module_management.hpp"
#include "bpc_mitm/bpc_ams_power_utils.hpp"
extern "C" {
extern u32 __start__;
@@ -50,8 +51,7 @@ namespace ams {
/* Override. */
void ExceptionHandler(FatalErrorContext *ctx) {
/* We're bpc-mitm (or ams_mitm, anyway), so manually reboot to fatal error. */
/* Utils::RebootToFatalError(ctx); */
while (1) { /* ... */ }
mitm::bpc::RebootForFatalError(ctx);
}
}