From 10dd604d0a87f85b60bf3afae77d0808113a6d40 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 6 Sep 2009 23:00:49 +0000 Subject: Fixed compilation on BE systems svn-id: r43995 --- engines/sci/gfx/gfx_support.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sci/gfx') 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 -- cgit v1.2.3