Fixed compilation on BE systems

svn-id: r43995
This commit is contained in:
Filippos Karapetis 2009-09-06 23:00:49 +00:00
parent 876a7b657f
commit 10dd604d0a

View File

@ -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