1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00

Add comment

This commit is contained in:
Gymnasiast
2020-09-28 21:41:14 +02:00
parent 213b6cc672
commit 84201678ca

View File

@@ -210,6 +210,7 @@ private:
{
auto data = DecryptSea(fs::u8path(path));
auto ms = std::make_unique<MemoryStream>();
// Need to copy the data into MemoryStream as the overload will borrow instead of copy.
ms->Write(data.data(), data.size());
ms->SetPosition(0);
return ms;