1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-17 17:36:44 +00:00

htcfs: fix CreateFile packet header

This commit is contained in:
Michael Scire 2021-02-16 02:15:59 -08:00 committed by SciresM
parent d20bceff75
commit 7621bd4e13

View file

@ -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) {