diff options
Diffstat (limited to 'engines/scumm/smush')
-rw-r--r-- | engines/scumm/smush/imuse_channel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/scumm/smush/imuse_channel.cpp b/engines/scumm/smush/imuse_channel.cpp index cab836fcc8..e39397eded 100644 --- a/engines/scumm/smush/imuse_channel.cpp +++ b/engines/scumm/smush/imuse_channel.cpp @@ -162,7 +162,8 @@ void ImuseChannel::decode() { byte *old = _tbuffer; int new_size = remaining_size + _tbufferSize; _tbuffer = new byte[new_size]; - if (!_tbuffer) error("imuse_channel failed to allocate memory"); + if (!_tbuffer) + error("imuse_channel failed to allocate memory"); memcpy(_tbuffer, old, _tbufferSize); delete[] old; memcpy(_tbuffer + _tbufferSize, _sbuffer + _sbufferSize - remaining_size, remaining_size); |