k051649.c: fixed bogus for loop in device reset [Fabio Priuli]

This commit is contained in:
Fabio Priuli 2010-02-17 06:55:38 +00:00
parent 6749510706
commit 53a1f443d2

View File

@ -158,7 +158,7 @@ static DEVICE_RESET( k051649 )
int i;
/* reset all the voices */
for (i=0; i>5; i++) {
for (i = 0; i < 5; i++) {
voice[i].frequency = 0;
voice[i].volume = 0;
voice[i].counter = 0;