aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/video
diff options
context:
space:
mode:
authorMatthew Hoops2009-12-30 15:29:52 +0000
committerMatthew Hoops2009-12-30 15:29:52 +0000
commitb775c03c29f6b256e9e01c5481949bb11300ce3a (patch)
tree5c8fad1a486d21ff03f5b52bf378e463b71158fa /engines/mohawk/video
parented41d797efc641c660247bc09d055ce8adbcbda4 (diff)
downloadscummvm-rg350-b775c03c29f6b256e9e01c5481949bb11300ce3a.tar.gz
scummvm-rg350-b775c03c29f6b256e9e01c5481949bb11300ce3a.tar.bz2
scummvm-rg350-b775c03c29f6b256e9e01c5481949bb11300ce3a.zip
Use the special Cinepak YUV2RGB function in the Cinepak decoder. This makes the Riven videos match up with the backgrounds better. Thanks, Torbjorn\!
svn-id: r46750
Diffstat (limited to 'engines/mohawk/video')
-rw-r--r--engines/mohawk/video/cinepak.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/video/cinepak.cpp b/engines/mohawk/video/cinepak.cpp
index 5bf5d342a4..dc287ff56c 100644
--- a/engines/mohawk/video/cinepak.cpp
+++ b/engines/mohawk/video/cinepak.cpp
@@ -33,7 +33,7 @@
namespace Mohawk {
#define PUT_PIXEL(offset, lum, u, v) \
- Graphics::YUV2RGB(lum, u, v, r, g, b); \
+ Graphics::CPYUV2RGB(lum, u, v, r, g, b); \
if (_pixelFormat.bytesPerPixel == 2) \
*((uint16 *)_curFrame.surface->pixels + offset) = _pixelFormat.RGBToColor(r, g, b); \
else \