mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-21 10:25:08 -04:00
dmnt: only initialize HID once
This commit is contained in:
parent
b4b1208222
commit
fbddf090a4
2 changed files with 10 additions and 4 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue