mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
parent
69fa6abb37
commit
e7dc2c0d0c
@ -172,9 +172,10 @@ bool SaudChannel::appendData(Chunk &b, int32 size) {
|
||||
byte *SaudChannel::getSoundData() {
|
||||
byte *tmp = _sbuffer;
|
||||
|
||||
assert(_dataSize > 0);
|
||||
if (!_keepSize)
|
||||
if (!_keepSize) {
|
||||
assert(_dataSize > 0);
|
||||
_dataSize -= _sbufferSize;
|
||||
}
|
||||
|
||||
_sbuffer = 0;
|
||||
_sbufferSize = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user