aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx
diff options
context:
space:
mode:
authorMax Horn2009-02-21 19:27:06 +0000
committerMax Horn2009-02-21 19:27:06 +0000
commit1bbde7be4ebcd2d61ee1f10a7bd49c6546837c8a (patch)
tree68984d01c594e0200961ede91250fdbdf3f13316 /engines/sci/gfx
parentd451c7794d0980524ed470bc8b0dbcd14d7e8e2b (diff)
downloadscummvm-rg350-1bbde7be4ebcd2d61ee1f10a7bd49c6546837c8a.tar.gz
scummvm-rg350-1bbde7be4ebcd2d61ee1f10a7bd49c6546837c8a.tar.bz2
scummvm-rg350-1bbde7be4ebcd2d61ee1f10a7bd49c6546837c8a.zip
SCI: Changed decompressors to take advantage of Common::ReadStream::readUint16LE; cleanup
svn-id: r38733
Diffstat (limited to 'engines/sci/gfx')
-rw-r--r--engines/sci/gfx/gfx_line.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gfx/gfx_line.cpp b/engines/sci/gfx/gfx_line.cpp
index 84c4e78d04..579d622080 100644
--- a/engines/sci/gfx/gfx_line.cpp
+++ b/engines/sci/gfx/gfx_line.cpp
@@ -53,7 +53,7 @@ static inline void DRAWLINE_FUNC(byte *buffer, int linewidth, Common::Point star
finalx = end.x;
finaly = end.y;
#ifdef SCUMM_BIG_ENDIAN
- color = GUINT32_SWAP_LE_BE_CONSTANT(color);
+ color = SWAP_BYTES_32(color);
#endif
dx = abs(dx);
dy = abs(dy);