Skip to content

Commit cdfb211

Browse files
authored
Update e8910.c
Fix sound issue on platform (ex: arm 64 like rgb30) where char are unsigned by default
1 parent a401c26 commit cdfb211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e8910.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ struct AY8910 {
3535
int CountA,CountB,CountC,CountN,CountE;
3636
int RNG;
3737
unsigned VolA,VolB,VolC,VolE;
38-
char CountEnv;
38+
signed char CountEnv;
3939
unsigned char EnvelopeA,EnvelopeB,EnvelopeC;
4040
unsigned char OutputA,OutputB,OutputC,OutputN;
4141
unsigned char Hold,Alternate,Attack,Holding;

0 commit comments

Comments
 (0)