mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-17 07:07:10 +00:00
ZVISION: Convert _blockSize to an anonymous enum
This commit is contained in:
parent
903e21b8af
commit
8ec0a90611
@ -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) {
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user