mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
parent
a32cae809b
commit
19b6334418
@ -621,12 +621,11 @@ void DrasculaEngine::decodeRLE(byte* srcPtr, byte* dstPtr) {
|
||||
pixel = *srcPtr++;
|
||||
}
|
||||
for (uint j = 0; j < repeat; j++) {
|
||||
curByte++;
|
||||
if (curByte > 64000) {
|
||||
*dstPtr++ = pixel;
|
||||
if (++curByte >= 64000) {
|
||||
stopProcessing = true;
|
||||
break;
|
||||
}
|
||||
*dstPtr++ = pixel;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user