From 8ebd4bc568d861bc770ea92a420de9a82b0bb4c7 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Tue, 16 Feb 2021 02:15:59 -0800 Subject: [PATCH] htcfs: fix CreateFile packet header --- libstratosphere/source/htcfs/htcfs_header_factory.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstratosphere/source/htcfs/htcfs_header_factory.hpp b/libstratosphere/source/htcfs/htcfs_header_factory.hpp index c2fceba2..b998c47e 100644 --- a/libstratosphere/source/htcfs/htcfs_header_factory.hpp +++ b/libstratosphere/source/htcfs/htcfs_header_factory.hpp @@ -156,7 +156,7 @@ namespace ams::htcfs { } void MakeCreateFileHeader(Header *out, int path_len, s64 size, bool case_sensitive) { - return this->MakeRequestHeader(out, PacketType::CreateDirectory, path_len, size, case_sensitive ? 1 : 0); + return this->MakeRequestHeader(out, PacketType::CreateFile, path_len, size, case_sensitive ? 1 : 0); } void MakeGetFileTimeStampHeader(Header *out, int path_len, bool case_sensitive) {