X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=mappers%2F24and26.c;h=50f732a7d35f04ad318776bdfec8c907e7789895;hp=1981d12cecf06ddb68c6b2b306469c68db61f755;hb=4fdfab079f3f006ae215ab453072a25588aa951d;hpb=13a7da558887ad47a9f21b4c86cc4d7fd797cf42 diff --git a/mappers/24and26.c b/mappers/24and26.c index 1981d12..50f732a 100644 --- a/mappers/24and26.c +++ b/mappers/24and26.c @@ -138,7 +138,7 @@ static void DoSQV1(void) int32 start,end; start=CVBC[0]; - end=(timestamp<<16)/soundtsinc; + end=(SOUNDTS<<16)/soundtsinc; if(end<=start) return; CVBC[0]=end; @@ -185,7 +185,7 @@ static void DoSQV2(void) int32 start,end; start=CVBC[1]; - end=(timestamp<<16)/soundtsinc; + end=(SOUNDTS<<16)/soundtsinc; if(end<=start) return; CVBC[1]=end; @@ -231,7 +231,7 @@ static void DoSawV(void) int32 start,end; start=CVBC[2]; - end=(timestamp<<16)/soundtsinc; + end=(SOUNDTS<<16)/soundtsinc; if(end<=start) return; CVBC[2]=end;