diff options
Diffstat (limited to 'engines/agi/graphics.cpp')
-rw-r--r-- | engines/agi/graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/graphics.cpp b/engines/agi/graphics.cpp index b6430e0f81..e07648a720 100644 --- a/engines/agi/graphics.cpp +++ b/engines/agi/graphics.cpp @@ -532,7 +532,7 @@ static struct UpdateBlock update = { MAX_INT, MAX_INT, 0, 0 }; -GfxMgr::GfxMgr(AgiEngine *vm) : _vm(vm) { +GfxMgr::GfxMgr(AgiBase *vm) : _vm(vm) { _shakeH = NULL; _shakeV = NULL; _agipalFileNum = 0; @@ -1078,7 +1078,7 @@ void GfxMgr::putPixelsA(int x, int y, int n, uint8 *p) { } else { const uint16 mask = _vm->getFeatures() & (GF_AGI256 | GF_AGI256_2) && !_vm->_debug.priority ? 0xffff : 0x0f0f; for (x *= 2; n--; p++, x += 2) { - register uint16 q = ((uint16) * p << 8) | *p; + register uint16 q = ((uint16)*p << 8) | *p; *(uint16 *)&_agiScreen[x + y * GFX_WIDTH] = (q >> rShift) & mask; } } |