ZVISION: Convert _blockSize to an anonymous enum

This commit is contained in:
richiesams 2013-07-30 14:38:58 -05:00
parent 903e21b8af
commit 8ec0a90611
2 changed files with 5 additions and 4 deletions

View File

@ -32,7 +32,7 @@ LzssReadStream::LzssReadStream(Common::SeekableReadStream *source)
_windowCursor(0x0FEE),
_eosFlag(false) {
// Clear the window to null
memset(_window, 0, _blockSize);
memset(_window, 0, BLOCK_SIZE);
}
uint32 LzssReadStream::decompressBytes(byte *destination, uint32 numberOfBytes) {

View File

@ -43,9 +43,10 @@ public:
*/
LzssReadStream(Common::SeekableReadStream *source);
public:
static const uint32 _npos = 0xFFFFFFFFu;
static const uint16 _blockSize = 0x1000u;
private:
enum {
BLOCK_SIZE = 0x1000
};
private:
Common::SeekableReadStream *_source;