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)
{
#endif
z=((SOUNDTS<<16)/soundtsinc)>>4;
a=z-dwave;
- if(a) DoNamcoSound(&Wave[dwave], a);
+ if(a) DoNamcoSound((int32 *)&Wave[dwave], a);
dwave+=a;
}
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;
}