OPLsynth: Default to center panning.

This commit is contained in:
svdijk 2017-05-21 21:43:48 +02:00 committed by Christoph Oelckers
parent 42e62d9005
commit bdfc42182f
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@
musicBlock::musicBlock ()
{
memset (this, 0, sizeof(*this));
for(auto &oplchannel : oplchannels) oplchannel.Panning = 64; // default to center panning.
for(auto &voice : voices) voice.index = ~0u; // mark all free.
}