dmnt: only initialize HID once

This commit is contained in:
Michael Scire committed 2019-03-05 07:50:50 -08:00
1 parent b4b1208222
commit fbddf090a4
2 files changed
+10 -4

No files matched your search

+6
View File
@@ -99,6 +99,11 @@ void __appInit(void) {
fatalSimple(rc);
}
rc = hidInitialize();
if (R_FAILED(rc)) {
fatalSimple(rc);
}
rc = fsInitialize();
if (R_FAILED(rc)) {
fatalSimple(rc);
@@ -116,6 +121,7 @@ void __appExit(void) {
/* Cleanup services. */
fsdevUnmountAll();
fsExit();
hidExit();
setExit();
lrExit();
nsdevExit();