AUDIO: remove unused variable assignment in dbopl
This commit is contained in:
parent
e05e33a06e
commit
ea8ee0291c
1 changed files with 0 additions and 4 deletions
|
@ -1239,9 +1239,7 @@ void Chip::GenerateBlock2( Bitu total, Bit32s* output ) {
|
|||
while ( total > 0 ) {
|
||||
Bit32u samples = ForwardLFO( total );
|
||||
memset(output, 0, sizeof(Bit32s) * samples);
|
||||
int count = 0;
|
||||
for( Channel* ch = chan; ch < chan + 9; ) {
|
||||
count++;
|
||||
ch = (ch->*(ch->synthHandler))( this, samples, output );
|
||||
}
|
||||
total -= samples;
|
||||
|
@ -1253,9 +1251,7 @@ void Chip::GenerateBlock3( Bitu total, Bit32s* output ) {
|
|||
while ( total > 0 ) {
|
||||
Bit32u samples = ForwardLFO( total );
|
||||
memset(output, 0, sizeof(Bit32s) * samples * 2);
|
||||
int count = 0;
|
||||
for( Channel* ch = chan; ch < chan + 18; ) {
|
||||
count++;
|
||||
ch = (ch->*(ch->synthHandler))( this, samples, output );
|
||||
}
|
||||
total -= samples;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue