From f65dea538c6546f4581930d0eb01c92219008d35 Mon Sep 17 00:00:00 2001 From: nyyu Date: Sun, 5 Sep 2021 22:11:53 +0200 Subject: [PATCH] fix hdd init exit --- source/util/util.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/util/util.cpp b/source/util/util.cpp index fac437b..25c9760 100755 --- a/source/util/util.cpp +++ b/source/util/util.cpp @@ -11,6 +11,7 @@ #include "switch.h" #include "util/util.hpp" #include "nx/ipc/tin_ipc.h" +#include "nx/usbhdd.h" #include "util/config.hpp" #include "util/curl.hpp" #include "ui/MainApplication.hpp" @@ -29,9 +30,12 @@ namespace inst::util { nxlinkStdio(); #endif awoo_usbCommsInitialize(); + + nx::hdd::init(); } void deinitApp() { + nx::hdd::exit(); socketExit(); awoo_usbCommsExit(); }