aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx
diff options
context:
space:
mode:
authorFilippos Karapetis2009-09-06 23:00:49 +0000
committerFilippos Karapetis2009-09-06 23:00:49 +0000
commit10dd604d0a87f85b60bf3afae77d0808113a6d40 (patch)
tree8fb231534ea32398673b4d8e8bb0fabd71ce0737 /engines/sci/gfx
parent876a7b657fabd6722432fa3eface3137a12eb34f (diff)
downloadscummvm-rg350-10dd604d0a87f85b60bf3afae77d0808113a6d40.tar.gz
scummvm-rg350-10dd604d0a87f85b60bf3afae77d0808113a6d40.tar.bz2
scummvm-rg350-10dd604d0a87f85b60bf3afae77d0808113a6d40.zip
Fixed compilation on BE systems
svn-id: r43995
Diffstat (limited to 'engines/sci/gfx')
-rw-r--r--engines/sci/gfx/gfx_support.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gfx/gfx_support.cpp b/engines/sci/gfx/gfx_support.cpp
index 945dabec0e..1f48a6d2ab 100644
--- a/engines/sci/gfx/gfx_support.cpp
+++ b/engines/sci/gfx/gfx_support.cpp
@@ -265,7 +265,7 @@ void gfx_crossblit_pixmap(gfx_mode_t *mode, gfx_pixmap_t *pxm, int priority, rec
}
#ifdef SCUMM_BIG_ENDIAN
- alpha += (mode->bytespp) - (shift_nr + 1);
+ alpha += 1 - (shift_nr + 1);
#else
alpha += shift_nr;
#endif