mc.mitm: remove return value on LaunchModules function

This commit is contained in:
ndeadly 2021-02-04 02:57:15 +01:00
parent faf41df7e0
commit 15ce645bd9

View file

@ -89,10 +89,9 @@ void __libnx_exception_handler(ThreadExceptionDump* ctx) {
ams::CrashHandler(ctx); ams::CrashHandler(ctx);
} }
ams::Result LaunchModules(void) { void LaunchModules(void) {
R_TRY(ams::mitm::bluetooth::Launch()); R_ABORT_UNLESS(ams::mitm::bluetooth::Launch());
R_TRY(ams::mitm::btm::Launch()); R_ABORT_UNLESS(ams::mitm::btm::Launch());
return ams::ResultSuccess();
} }
void WaitModules(void) { void WaitModules(void) {
@ -101,8 +100,7 @@ void WaitModules(void) {
} }
int main(int argc, char **argv) { int main(int argc, char **argv) {
R_ABORT_UNLESS(LaunchModules()); LaunchModules();
WaitModules(); WaitModules();
return 0; return 0;
} }