mirror of
https://github.com/switchbrew/switch-examples.git
synced 2025-06-21 05:12:40 +02:00
Use R_FAILED for the romfsInit rc check.
This commit is contained in:
parent
305c6f325e
commit
0ff790f032
@ -34,7 +34,7 @@ int main(int argc, char **argv)
|
|||||||
consoleInit(NULL);
|
consoleInit(NULL);
|
||||||
|
|
||||||
Result rc = romfsInit();
|
Result rc = romfsInit();
|
||||||
if (rc)
|
if (R_FAILED(rc))
|
||||||
printf("romfsInit: %08X\n", rc);
|
printf("romfsInit: %08X\n", rc);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user