1
0
mirror of synced 2024-12-01 10:47:19 +01:00

fix: File Provider adding zero bytes at the end of the data when saving

Fixes #835
This commit is contained in:
WerWolv 2022-11-25 10:02:55 +01:00
parent 398dc8101f
commit c194588118
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 254b86d9519012985e9e9eaba35b9ead9be56c52
Subproject commit ffa76d3db453f92340448179c7f2982c1a6ba5f4

View File

@ -86,7 +86,7 @@ namespace hex::plugin::builtin {
bufferSize = provider->getActualSize() - offset;
provider->read(offset + this->getBaseAddress(), buffer.data(), bufferSize);
file.write(buffer);
file.write(buffer.data(), bufferSize);
}
}
}