--- np2/sound/rhythmc.c 2003/12/04 13:54:29 1.5 +++ np2/sound/rhythmc.c 2004/02/18 18:29:29 1.7 @@ -172,10 +172,10 @@ void rhythm_update(RHYTHM rhy) { } while(++r < rterm); } -void rhythm_setreg(RHYTHM rhy, BYTE reg, BYTE value) { +void rhythm_setreg(RHYTHM rhy, REG8 reg, REG8 value) { RHYTHMCH *r; - BYTE bit; + REG8 bit; int i; if (reg == 0x10) { @@ -197,7 +197,7 @@ void rhythm_setreg(RHYTHM rhy, BYTE reg, r++; } } - else if (reg == 0x11) { // ver0.28 + else if (reg == 0x11) { sound_sync(); rhy->vol = (~value) & 0x3f; rhythm_update(rhy);