Add files via upload
This commit is contained in:
parent
6dd5695403
commit
ce43258505
|
@ -516,14 +516,14 @@ int main( int argc, char **argv )
|
||||||
|
|
||||||
CNFGColor( LINE_COLOR );
|
CNFGColor( LINE_COLOR );
|
||||||
// Let's draw the o-scope.
|
// Let's draw the o-scope.
|
||||||
int thissoundhead = ( soundhead - 1 + SOUNDCBSIZE ) % SOUNDCBSIZE;
|
|
||||||
int lasty;
|
int lasty;
|
||||||
|
int thissoundhead = ( soundhead - 1 + SOUNDCBSIZE ) % SOUNDCBSIZE;
|
||||||
int thisy = sound[ thissoundhead ] * -128 + 128;
|
int thisy = sound[ thissoundhead ] * -128 + 128;
|
||||||
for ( int i = screenx - 1; i > 0; i-- )
|
for ( int i = screenx - 1; i > 0; i-- )
|
||||||
{
|
{
|
||||||
lasty = thisy;
|
lasty = thisy;
|
||||||
thisy = sound[ thissoundhead ] * -128 + 128;
|
|
||||||
thissoundhead = ( thissoundhead - 1 + SOUNDCBSIZE ) % SOUNDCBSIZE;
|
thissoundhead = ( thissoundhead - 1 + SOUNDCBSIZE ) % SOUNDCBSIZE;
|
||||||
|
thisy = sound[ thissoundhead ] * -128 + 128;
|
||||||
CNFGTackSegment( i, lasty, i - 1, thisy );
|
CNFGTackSegment( i, lasty, i - 1, thisy );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue