mirror of https://github.com/ZDoom/qzdoom.git
The wrong value was used here.
This caused crashes on some files (notably MBELLS from Cosmo and NUBC from Body Count) in my port of this code to SLADE 3.
This commit is contained in:
parent
732ee11da1
commit
9dacc9cc8d
|
@ -267,7 +267,7 @@ bool OPLmusicBlock::ServiceStream (void *buff, int numbytes)
|
|||
{
|
||||
for (i = 0; i < io->NumChips; ++i)
|
||||
{
|
||||
io->chips[i]->Update(samples1, samplesleft);
|
||||
io->chips[i]->Update(samples1, numsamples);
|
||||
}
|
||||
OffsetSamples(samples1, numsamples << stereoshift);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue