notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more 0.98.15-like timing, but sound glitches
[fceu.git]
/
mappers
/
24and26.c
diff --git
a/mappers/24and26.c
b/mappers/24and26.c
index
1981d12
..
50f732a
100644
(file)
--- a/
mappers/24and26.c
+++ b/
mappers/24and26.c
@@
-138,7
+138,7
@@
static void DoSQV1(void)
int32 start,end;
start=CVBC[0];
int32 start,end;
start=CVBC[0];
- end=(
timestamp
<<16)/soundtsinc;
+ end=(
SOUNDTS
<<16)/soundtsinc;
if(end<=start) return;
CVBC[0]=end;
if(end<=start) return;
CVBC[0]=end;
@@
-185,7
+185,7
@@
static void DoSQV2(void)
int32 start,end;
start=CVBC[1];
int32 start,end;
start=CVBC[1];
- end=(
timestamp
<<16)/soundtsinc;
+ end=(
SOUNDTS
<<16)/soundtsinc;
if(end<=start) return;
CVBC[1]=end;
if(end<=start) return;
CVBC[1]=end;
@@
-231,7
+231,7
@@
static void DoSawV(void)
int32 start,end;
start=CVBC[2];
int32 start,end;
start=CVBC[2];
- end=(
timestamp
<<16)/soundtsinc;
+ end=(
SOUNDTS
<<16)/soundtsinc;
if(end<=start) return;
CVBC[2]=end;
if(end<=start) return;
CVBC[2]=end;