Skip to content
Snippets Groups Projects
Commit dde63ffa authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Add a corrupt flags in FTL patch

parent 8d4fbfec
No related branches found
No related tags found
1 merge request!316Resolves #343 GUI and Frame Refactor
Pipeline #28041 failed
......@@ -169,6 +169,11 @@ bool File::readPacket(std::tuple<ftl::codecs::StreamPacket,ftl::codecs::Packet>
}
std::get<0>(data).version = 4;
// Fix for flags corruption
if (std::get<1>(data).data.size() == 0) {
std::get<1>(data).flags = 0;
}
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment