diff options
author | Max Horn | 2005-05-15 10:40:28 +0000 |
---|---|---|
committer | Max Horn | 2005-05-15 10:40:28 +0000 |
commit | fb11e793876b25e47fd4f35ed0f30d3febcc84b0 (patch) | |
tree | 5a6777fe1b50b11e3f0d0f5f94b116dfb9bc845f /backends/PalmOS/Src/arm | |
parent | e5bbfe8df9e3fb291d840a3cbcdc947185bfd3fa (diff) | |
download | scummvm-rg350-fb11e793876b25e47fd4f35ed0f30d3febcc84b0.tar.gz scummvm-rg350-fb11e793876b25e47fd4f35ed0f30d3febcc84b0.tar.bz2 scummvm-rg350-fb11e793876b25e47fd4f35ed0f30d3febcc84b0.zip |
Replaced global revBitMask array with a macro
svn-id: r18104
Diffstat (limited to 'backends/PalmOS/Src/arm')
-rw-r--r-- | backends/PalmOS/Src/arm/native.h | 1 | ||||
-rw-r--r-- | backends/PalmOS/Src/arm/proc3.cpp | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/backends/PalmOS/Src/arm/native.h b/backends/PalmOS/Src/arm/native.h index bbbc4ab0ea..d3f0cb8465 100644 --- a/backends/PalmOS/Src/arm/native.h +++ b/backends/PalmOS/Src/arm/native.h @@ -96,7 +96,6 @@ typedef struct { typedef struct { void *v1; // struct v1 * - const byte *revBitMask; const byte *_srcptr; int _height; diff --git a/backends/PalmOS/Src/arm/proc3.cpp b/backends/PalmOS/Src/arm/proc3.cpp index c56776492d..c566ae31cd 100644 --- a/backends/PalmOS/Src/arm/proc3.cpp +++ b/backends/PalmOS/Src/arm/proc3.cpp @@ -14,7 +14,6 @@ UInt32 CostumeRenderer_proc3(void *userData68KP) { SETPTRV (V1CodecType * , v1, v1comp ) - SETPTR (const byte * ,revBitMask ) SETPTR (const byte * ,_srcptr ) SET32 (int ,_height ) SET8 (byte ,_scaleIndexX ) @@ -60,7 +59,7 @@ UInt32 CostumeRenderer_proc3(void *userData68KP) { height = _height; scaleytab = &v1.scaletable[_scaleIndexY]; - maskbit = revBitMask[v1.x & 7]; + maskbit = revBitMask(v1.x & 7); mask = v1.mask_ptr + v1.x / 8; if (len) @@ -108,7 +107,7 @@ UInt32 CostumeRenderer_proc3(void *userData68KP) { if (v1.x < 0 || v1.x >= _out_w) //return _scaleIndexX; goto end_jump; - maskbit = revBitMask[v1.x & 7]; + maskbit = revBitMask(v1.x & 7); v1.destptr += v1.scaleXstep; } _scaleIndexX += v1.scaleXstep; |