hey pa__ dont use ARRAYSIZE, use ARRAY_SIZE instead.

This commit is contained in:
zeromus 2009-04-11 08:54:26 +00:00
parent ed3393987f
commit 45661199e6
2 changed files with 2 additions and 2 deletions

View File

@ -2428,7 +2428,7 @@ void SetTurbo(bool (&pad) [10]) {
if(currentbutton) {
pad[i]=turbo[TurboTime.time(i)-1];
if(TurboTime.time(i)>=ARRAYSIZE(turbo))
if(TurboTime.time(i)>=ARRAY_SIZE(turbo))
TurboTime.time(i)=0;
}
else

View File

@ -171,7 +171,7 @@ u8 Mic_ReadSample()
}
else { //use the "random" values
x++;
if(x > ARRAYSIZE(random))
if(x > ARRAY_SIZE(random))
x=0;
ret = random[x];
}