From d87a960aed8cdb77ddcda87fad2dfe36f08823cb Mon Sep 17 00:00:00 2001 From: flb Date: Sat, 5 Nov 2022 18:30:42 +0100 Subject: [PATCH] use libnx's functions instead of the standard library's --- source/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/utils.cpp b/source/utils.cpp index 23caf51..47bfe5b 100644 --- a/source/utils.cpp +++ b/source/utils.cpp @@ -164,7 +164,7 @@ namespace util { break; } case contentType::fw: - if (std::filesystem::exists(FIRMWARE_PATH)) std::filesystem::remove_all(FIRMWARE_PATH); + fs::removeDir(FIRMWARE_PATH); fs::createTree(FIRMWARE_PATH); extract::extract(FIRMWARE_FILENAME, FIRMWARE_PATH); break;