FULLPIPE: Fix bug with lost picture palettes

This commit is contained in:
Eugene Sandulenko 2013-08-11 01:19:23 +03:00
parent 1ca1a5dfa0
commit 60ca9f74ac
6 changed files with 12 additions and 11 deletions

View file

@ -155,7 +155,7 @@ void MemoryObject::loadFile(char *filename) {
_dataSize = s->size();
debug(0, "Loading %s (%d bytes)", filename, _dataSize);
debug(5, "Loading %s (%d bytes)", filename, _dataSize);
_data = (byte *)calloc(_dataSize, 1);
s->read(_data, _dataSize);