#include "mapinc.h"
static void AYSound(int Count);
-//static void AYSoundHQ(void);
+static void AYSoundHQ(void);
static void DoAYSQ(int x);
-//static void DoAYSQHQ(int x);
+static void DoAYSQHQ(int x);
#define sunselect mapbyte1[0]
#define sungah mapbyte1[1]
{
if((sungah&0xC0)==0x40)
return X.DB;
- return CartBR(A);
+ return CartBROB(A);
}
static DECLFW(Mapper69_SWL)
{
int x;
GameExpSound.Fill=AYSound;
- GameExpSound.HiFill=0;//AYSoundHQ;
+ GameExpSound.HiFill=AYSoundHQ;
if(FSettings.SndRate);
switch(sunindex)
{
case 0:
case 1:
- case 8:/*if(FSettings.soundq>=1) DoAYSQHQ(0); else*/ DoAYSQ(0);break;
+ case 8:if(FSettings.soundq>=1) DoAYSQHQ(0); else DoAYSQ(0);break;
case 2:
case 3:
- case 9:/*if(FSettings.soundq>=1) DoAYSQHQ(1); else*/ DoAYSQ(1);break;
+ case 9:if(FSettings.soundq>=1) DoAYSQHQ(1); else DoAYSQ(1);break;
case 4:
case 5:
- case 10:/*if(FSettings.soundq>=1) DoAYSQHQ(2); else*/ DoAYSQ(2);break;
+ case 10:if(FSettings.soundq>=1) DoAYSQHQ(2); else DoAYSQ(2);break;
case 7:
for(x=0;x<2;x++)
- /*if(FSettings.soundq>=1) DoAYSQHQ(x); else*/ DoAYSQ(x);
+ if(FSettings.soundq>=1) DoAYSQHQ(x); else DoAYSQ(x);
break;
}
MapperExRAM[sunindex]=V;
CAYBC[x]=end;
if(amp)
- if(!(MapperExRAM[0x7]&(1<<x)))
for(V=start;V<end;V++)
{
if(dcount[x])
}
}
-#if 0
static void DoAYSQHQ(int x)
{
int32 V;
}
CAYBC[x]=SOUNDTS;
}
-#endif
static void AYSound(int Count)
{
CAYBC[x]=Count;
}
-#if 0
static void AYSoundHQ(void)
{
DoAYSQHQ(0);
DoAYSQHQ(1);
DoAYSQHQ(2);
}
-#endif
static void AYHiSync(int32 ts)
{