Commit Graph

6 Commits

Author SHA1 Message Date
Christian Krause
b186c21f85 EMI: Fix wrap around of Layers/Frames
This patch makes sure, that Layer::_frame is smaller than numLayers
of the bitmap in order to prevent out-of-bounds access to
BitmapData::_layers.
2015-05-16 10:39:08 +02:00
Joel Teichroeb
0f3da43694 GRIM: Change NULL to nullptr. 2014-05-30 17:43:08 -07:00
Pawel Kolodziejski
8759900b6a ALL: synced with ScummVM 2014-04-05 18:18:42 +02:00
Einar Johan Trøan Sømåen
c4e4528a31 GRIM: Initialize more members in Layer's default constructor 2014-01-07 12:38:20 +01:00
Christian Krause
e8ffe93119 EMI: save/restore layer pool
- this fixes one crash after savegame restore when
Lua_V2::AdvanceLayerFrame() was trying to dereference a non-existing
layer object
2013-12-04 00:55:14 +01:00
Joel Teichroeb
2772e8fb3b EMI: Implement Layer. Still need to draw it though 2013-07-12 09:29:30 -07:00