mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 07:53:12 +00:00
VIDEO: Fix a typo (minus vs. plus) in the VMD decoder
This commit is contained in:
parent
5bd1bf1d6d
commit
fad5cf7243
@ -2296,7 +2296,7 @@ bool VMDDecoder::renderFrame(Common::Rect &rect) {
|
||||
// Directly uncompress onto the video surface
|
||||
const int offsetX = rect.left * _surface.format.bytesPerPixel;
|
||||
const int offsetY = (_y + rect.top) * _surface.pitch;
|
||||
const int offset = offsetX - offsetY;
|
||||
const int offset = offsetX + offsetY;
|
||||
|
||||
if (deLZ77((byte *)_surface.pixels + offset, dataPtr, dataSize,
|
||||
_surface.w * _surface.h * _surface.format.bytesPerPixel - offset))
|
||||
|
Loading…
x
Reference in New Issue
Block a user