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
/
19.c
diff --git
a/mappers/19.c
b/mappers/19.c
index
d928b4e
..
0258b47
100644
(file)
--- a/
mappers/19.c
+++ b/
mappers/19.c
@@
-155,7
+155,7
@@
static void NamcoSoundHack(void)
{
int32 z,a;
{
int32 z,a;
- z=((
timestamp
<<16)/soundtsinc)>>4;
+ z=((
SOUNDTS
<<16)/soundtsinc)>>4;
a=z-dwave;
if(a)
DoNamcoSound(&Wave[dwave], a);
a=z-dwave;
if(a)
DoNamcoSound(&Wave[dwave], a);
@@
-166,7
+166,7
@@
static void NamcoSound(int Count)
{
int32 z,a;
{
int32 z,a;
- z=((
timestamp
<<16)/soundtsinc)>>4;
+ z=((
SOUNDTS
<<16)/soundtsinc)>>4;
a=z-dwave;
if(a)
DoNamcoSound(&Wave[dwave], a);
a=z-dwave;
if(a)
DoNamcoSound(&Wave[dwave], a);