From 6f240b16656c855f8566a2ee2f14199452e85840 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Sat, 10 Nov 2018 01:47:02 -0800 Subject: [PATCH] fatal: Add missing bpcInitialize() call. --- stratosphere/fatal/source/fatal_main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stratosphere/fatal/source/fatal_main.cpp b/stratosphere/fatal/source/fatal_main.cpp index 211c22374..e9fb47c44 100644 --- a/stratosphere/fatal/source/fatal_main.cpp +++ b/stratosphere/fatal/source/fatal_main.cpp @@ -72,6 +72,11 @@ void __appInit(void) { std::abort(); } + rc = bpcInitialize(); + if (R_FAILED(rc)) { + std::abort(); + } + rc = spsmInitialize(); if (R_FAILED(rc)) { std::abort(); @@ -83,6 +88,7 @@ void __appInit(void) { void __appExit(void) { /* Cleanup services. */ spsmExit(); + bpcExit(); pminfoExit(); setsysExit(); smExit();