stratosphere: more result cleanup
This commit is contained in:
1 parent
7b6050a0cb
commit
cead8a36ea
38 files changed
+158
-448
No files matched your search
@@ -65,21 +65,13 @@ void __libnx_initheap(void) {
|
||||
}
|
||||
|
||||
void __appInit(void) {
|
||||
Result rc;
|
||||
|
||||
SetFirmwareVersionForLibnx();
|
||||
|
||||
DoWithSmSession([&]() {
|
||||
rc = fsInitialize();
|
||||
if (R_FAILED(rc)) {
|
||||
fatalSimple(MAKERESULT(Module_Libnx, LibnxError_InitFail_FS));
|
||||
}
|
||||
R_ASSERT(fsInitialize());
|
||||
});
|
||||
|
||||
rc = fsdevMountSdmc();
|
||||
if (R_FAILED(rc)) {
|
||||
fatalSimple(MAKERESULT(Module_Libnx, LibnxError_InitFail_FS));
|
||||
}
|
||||
R_ASSERT(fsdevMountSdmc());
|
||||
}
|
||||
|
||||
void __appExit(void) {
|
||||
|
||||
Reference in new issue
Block a user