notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
098 renderer added
[fceu.git]
/
boards
/
n106.c
diff --git
a/boards/n106.c
b/boards/n106.c
index
2872d16
..
d54af02
100644
(file)
--- a/
boards/n106.c
+++ b/
boards/n106.c
@@
-23,8
+23,8
@@
static uint16 IRQCount;
static uint8 IRQa;
static uint16 IRQCount;
static uint8 IRQa;
-static uint8 WRAM[8192];
-static uint8 IRAM[128];
+static uint8 WRAM[8192]
__attribute__ ((aligned (4)))
;
+static uint8 IRAM[128]
__attribute__ ((aligned (4)))
;
static DECLFR(AWRAM)
{
static DECLFR(AWRAM)
{
@@
-229,7
+229,7
@@
static void NamcoSoundHack(void)
#endif
z=((SOUNDTS<<16)/soundtsinc)>>4;
a=z-dwave;
#endif
z=((SOUNDTS<<16)/soundtsinc)>>4;
a=z-dwave;
- if(a) DoNamcoSound(&Wave[dwave], a);
+ if(a) DoNamcoSound(
(int32 *)
&Wave[dwave], a);
dwave+=a;
}
dwave+=a;
}
@@
-238,7
+238,7
@@
static void NamcoSound(int Count)
int32 z,a;
z=((SOUNDTS<<16)/soundtsinc)>>4;
a=z-dwave;
int32 z,a;
z=((SOUNDTS<<16)/soundtsinc)>>4;
a=z-dwave;
- if(a) DoNamcoSound(&Wave[dwave], a);
+ if(a) DoNamcoSound(
(int32 *)
&Wave[dwave], a);
dwave=0;
}
dwave=0;
}