[Stream] Write invalid streams

This commit is contained in:
momo5502 2016-12-22 03:29:12 +01:00
parent f8a50eda81
commit 8f42168ec3

View File

@ -114,7 +114,7 @@ namespace Utils
// Only those seem to actually write data.
// As I'm not sure though, I'll still write the data
// Use IncreaseBlockSize to fill virtual streams
if (stream != Game::XFILE_BLOCK_TEMP && stream != Game::XFILE_BLOCK_VIRTUAL && stream != Game::XFILE_BLOCK_PHYSICAL)
if (stream != Game::XFILE_BLOCK_TEMP && stream != Game::XFILE_BLOCK_VIRTUAL && stream != Game::XFILE_BLOCK_PHYSICAL && stream != Game::XFILE_BLOCK_INVALID)
{
this->increaseBlockSize(stream, size * count);
return this->at();