ams: revamp assertion system
This commit is contained in:
1 parent
9572fb2ce3
commit
40400aee1f
168 files changed
+1014
-696
No files matched your search
@@ -78,10 +78,10 @@ void __appInit(void) {
|
||||
hos::SetVersionForLibnx();
|
||||
|
||||
sm::DoWithSession([&]() {
|
||||
R_ASSERT(fsInitialize());
|
||||
R_ASSERT(pmdmntInitialize());
|
||||
R_ASSERT(pminfoInitialize());
|
||||
R_ASSERT(splFsInitialize());
|
||||
R_ABORT_UNLESS(fsInitialize());
|
||||
R_ABORT_UNLESS(pmdmntInitialize());
|
||||
R_ABORT_UNLESS(pminfoInitialize());
|
||||
R_ABORT_UNLESS(splFsInitialize());
|
||||
});
|
||||
|
||||
ams::CheckApiVersion();
|
||||
|
||||
Reference in new issue
Block a user