mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-07 10:48:43 +00:00
fixed shadowed variables (and the new name seems to be more appropriate anyway
svn-id: r6713
This commit is contained in:
parent
730d528a54
commit
38e926cee3
@ -249,12 +249,12 @@ int32 RncDecoder::unpackM1(void *input, void *output, uint16 key)
|
||||
counts = inputBits(16);
|
||||
|
||||
for (;;) {
|
||||
uint32 inputBits = inputValue(_rawTable);
|
||||
uint32 inputBytes = inputValue(_rawTable);
|
||||
|
||||
if (inputBits) {
|
||||
memcpy(_dstPtr, _srcPtr, inputBits); //memcpy is allowed here
|
||||
_dstPtr += inputBits;
|
||||
_srcPtr += inputBits;
|
||||
if (inputBytes) {
|
||||
memcpy(_dstPtr, _srcPtr, inputBytes); //memcpy is allowed here
|
||||
_dstPtr += inputBytes;
|
||||
_srcPtr += inputBytes;
|
||||
uint16 b = READ_LE_UINT16(_srcPtr);
|
||||
uint16 a = ROL(b, _bitCount);
|
||||
uint16 d = ((1 << _bitCount) - 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user