X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mappers%2F69.c;h=3e427bb0bd69c242fef69fe52e5abc5eb8eb4db2;hb=c92577a7feb5f17d4386ed0554e9626b456d4461;hp=66e702f80a0569c0cb03428fe6c2e2778725a466;hpb=c0bf6f9f02a2b6afb961a7e9195e2168d7e9cecf;p=fceu.git diff --git a/mappers/69.c b/mappers/69.c index 66e702f..3e427bb 100644 --- a/mappers/69.c +++ b/mappers/69.c @@ -126,7 +126,7 @@ static void DoAYSQ(int x) int32 start,end; start=CAYBC[x]; - end=(timestamp<<16)/soundtsinc; + end=(SOUNDTS<<16)/soundtsinc; if(end<=start) return; CAYBC[x]=end; @@ -158,7 +158,7 @@ static void DoAYNoise(void) int32 start,end; start=CAYBC[3]; - end=(timestamp<<16)/soundtsinc; + end=(SOUNDTS<<16)/soundtsinc; if(end<=start) return; CAYBC[3]=end;