From 8f42168ec356ef66a87c92768ff47bac5b66f46b Mon Sep 17 00:00:00 2001 From: momo5502 Date: Thu, 22 Dec 2016 03:29:12 +0100 Subject: [PATCH] [Stream] Write invalid streams --- src/Utils/Stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils/Stream.cpp b/src/Utils/Stream.cpp index 85a485a3..0cb6c995 100644 --- a/src/Utils/Stream.cpp +++ b/src/Utils/Stream.cpp @@ -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();