fix hdd init exit

This commit is contained in:
nyyu 2021-09-05 22:11:53 +02:00
parent f9f6c3fcbd
commit f65dea538c

View File

@ -11,6 +11,7 @@
#include "switch.h" #include "switch.h"
#include "util/util.hpp" #include "util/util.hpp"
#include "nx/ipc/tin_ipc.h" #include "nx/ipc/tin_ipc.h"
#include "nx/usbhdd.h"
#include "util/config.hpp" #include "util/config.hpp"
#include "util/curl.hpp" #include "util/curl.hpp"
#include "ui/MainApplication.hpp" #include "ui/MainApplication.hpp"
@ -29,9 +30,12 @@ namespace inst::util {
nxlinkStdio(); nxlinkStdio();
#endif #endif
awoo_usbCommsInitialize(); awoo_usbCommsInitialize();
nx::hdd::init();
} }
void deinitApp() { void deinitApp() {
nx::hdd::exit();
socketExit(); socketExit();
awoo_usbCommsExit(); awoo_usbCommsExit();
} }