diff options
| author | D G Turner | 2012-11-13 09:18:28 +0000 | 
|---|---|---|
| committer | D G Turner | 2012-11-13 09:18:28 +0000 | 
| commit | 43520ce4f38c632eb438c6cada9224dad90e8621 (patch) | |
| tree | 72f1923834d700e0898329edea519f9ce049bf0e | |
| parent | 8df3c1458d8b44391258b16560c57a89479b8e35 (diff) | |
| download | scummvm-rg350-43520ce4f38c632eb438c6cada9224dad90e8621.tar.gz scummvm-rg350-43520ce4f38c632eb438c6cada9224dad90e8621.tar.bz2 scummvm-rg350-43520ce4f38c632eb438c6cada9224dad90e8621.zip  | |
TONY: Fix image loading on BE systems.
Thanks to wjp and fuzzie for working out the cause.
| -rw-r--r-- | engines/tony/gfxcore.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tony/gfxcore.cpp b/engines/tony/gfxcore.cpp index ae2019fb3c..85e5c7057f 100644 --- a/engines/tony/gfxcore.cpp +++ b/engines/tony/gfxcore.cpp @@ -1951,7 +1951,7 @@ void RMGfxSourceBuffer16::prepareImage() {  	uint16 *buf = (uint16 *)_buf;  	for (int i = 0; i < _dimx * _dimy; i++) -		WRITE_LE_UINT16(&buf[i], FROM_LE_16(buf[i]) & 0x7FFF); +		buf[i] = FROM_LE_16(buf[i]) & 0x7FFF;  }  RMGfxSourceBuffer16::RMGfxSourceBuffer16(int dimx, int dimy)  | 
