From 7621bd4e133a5468543753906bbe8bf79b41c987 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 --- libraries/libstratosphere/source/htcfs/htcfs_header_factory.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libstratosphere/source/htcfs/htcfs_header_factory.hpp b/libraries/libstratosphere/source/htcfs/htcfs_header_factory.hpp index c2fceba23..b998c47eb 100644 --- a/libraries/libstratosphere/source/htcfs/htcfs_header_factory.hpp +++ b/libraries/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) {