Closed jonyluke closed 5 years ago
Result cleanup like in commit from atmosphere
For example, change:
rc = fsInitialize(); if (R_FAILED(rc)) { fatalSimple(MAKERESULT(Module_Libnx, LibnxError_InitFail_FS)); }
to:
R_ASSERT(fsInitialize());
User apps should handle errors properly, no process-termination/{...}.
R_ASSERT doesn't exist in libnx. That is a macro that comes from libstratosphere.
Result cleanup like in commit from atmosphere
For example, change:
to:
R_ASSERT(fsInitialize());