Update README.md
This commit is contained in:
parent
f0d6468017
commit
ad56c03d47
11
README.md
11
README.md
@ -1,8 +1,9 @@
|
|||||||
fs-test
|
# ctru-test
|
||||||
=======
|
|
||||||
|
|
||||||
A really shitty homebrew test for the SDMC filesystem.
|
The beginnings of a homebrew test for Citra.
|
||||||
|
|
||||||
Adapted from smea's ftpony.
|
|
||||||
|
|
||||||
Press A to run, press B to close.
|
Press A to run, press B to close.
|
||||||
|
|
||||||
|
### Thanks to
|
||||||
|
|
||||||
|
Smealum, because this program was created using ftpony as a template.
|
||||||
|
@ -26,7 +26,8 @@ int main()
|
|||||||
|
|
||||||
APP_STATUS status;
|
APP_STATUS status;
|
||||||
while ((status=aptGetStatus()) != APP_EXITING) {
|
while ((status=aptGetStatus()) != APP_EXITING) {
|
||||||
if (status == APP_RUNNING) {
|
switch (status) {
|
||||||
|
case APP_RUNNING:
|
||||||
drawFrame();
|
drawFrame();
|
||||||
|
|
||||||
hidScanInput();
|
hidScanInput();
|
||||||
@ -37,13 +38,16 @@ int main()
|
|||||||
FSUSER_CreateDirectory(NULL, sdmcArchive, FS_makePath(PATH_CHAR, "/new_dir"))
|
FSUSER_CreateDirectory(NULL, sdmcArchive, FS_makePath(PATH_CHAR, "/new_dir"))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else if (status == APP_SUSPENDING) {
|
break;
|
||||||
|
case APP_SUSPENDING:
|
||||||
aptReturnToMenu();
|
aptReturnToMenu();
|
||||||
}
|
break;
|
||||||
else if (status == APP_SLEEPMODE) {
|
case APP_SLEEPMODE:
|
||||||
aptWaitStatusEvent();
|
aptWaitStatusEvent();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
gspWaitForEvent(GSPEVENT_VBlank0, false);
|
gspWaitForEvent(GSPEVENT_VBlank0, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user