- Added some stubs for the SAGA2 games dino and fta2
- Stopped loading the isomap and puzzle game modules for IHNM, as they are not used for that game (this saves some memory for IHNM) - Removed getDisplayWidth() and getDisplayHeight() svn-id: r35473
This commit is contained in:
parent
f6547e0691
commit
2257db88d3
20 changed files with 244 additions and 95 deletions
|
@ -243,8 +243,8 @@ void Sprite::drawClip(const Point &spritePointer, int width, int height, const b
|
|||
for (i = io; i < clipHeight; i++) {
|
||||
for (j = jo; j < clipWidth; j++) {
|
||||
assert(_vm->_gfx->getBackBufferPixels() <= (byte *)(bufRowPointer + j + spritePointer.x));
|
||||
assert((_vm->_gfx->getBackBufferPixels() + (_vm->getDisplayWidth() *
|
||||
_vm->getDisplayHeight())) > (byte *)(bufRowPointer + j + spritePointer.x));
|
||||
assert((_vm->_gfx->getBackBufferPixels() + (_vm->getDisplayInfo().logicalWidth *
|
||||
_vm->getDisplayInfo().logicalHeight)) > (byte *)(bufRowPointer + j + spritePointer.x));
|
||||
assert((const byte *)spriteBuffer <= (const byte *)(srcRowPointer + j));
|
||||
assert(((const byte *)spriteBuffer + (width * height)) > (const byte *)(srcRowPointer + j));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue