mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 20:59:00 +00:00
Reading the whole buffer at once should be more efficient than reading it one
byte at a time. svn-id: r46804
This commit is contained in:
parent
e56dedec3f
commit
6d879f15b7
@ -2961,8 +2961,7 @@ int QDM2Stream::qdm2_decodeFrame(Common::SeekableReadStream *in) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
for(i = 0; i < _packetSize; i++)
|
||||
_compressedData[i] = in->readByte();
|
||||
in->read(_compressedData, _packetSize);
|
||||
debug(1, "QDM2Stream::qdm2_decodeFrame constructed input data");
|
||||
|
||||
// copy old block, clear new block of output samples
|
||||
|
Loading…
x
Reference in New Issue
Block a user