X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=mappers%2F69.c;h=3e427bb0bd69c242fef69fe52e5abc5eb8eb4db2;hp=66e702f80a0569c0cb03428fe6c2e2778725a466;hb=4fdfab079f3f006ae215ab453072a25588aa951d;hpb=13a7da558887ad47a9f21b4c86cc4d7fd797cf42 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;