mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 08:25:35 +00:00
MADS: Fix compilation with clang
This commit is contained in:
parent
5a9003f2aa
commit
787cbe18e8
@ -79,14 +79,15 @@ void MadsPack::initialize(Common::SeekableReadStream *stream) {
|
||||
_items[i]._data = sourceData;
|
||||
break;
|
||||
|
||||
case COMPRESS_FAB:
|
||||
// Decompress the entry
|
||||
_items[i]._data = new byte[_items[i]._size];
|
||||
case COMPRESS_FAB: {
|
||||
// Decompress the entry
|
||||
_items[i]._data = new byte[_items[i]._size];
|
||||
|
||||
FabDecompressor fab;
|
||||
fab.decompress(sourceData, _items[i]._compressedSize, _items[i]._data, _items[i]._size);
|
||||
delete[] sourceData;
|
||||
break;
|
||||
FabDecompressor fab;
|
||||
fab.decompress(sourceData, _items[i]._compressedSize, _items[i]._data, _items[i]._size);
|
||||
delete[] sourceData;
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
error("Unknown compression type encountered");
|
||||
|
Loading…
x
Reference in New Issue
Block a user