Exemple #1
0
static DECLFW(Mapper69_SWH)
{
    int x;
    GameExpSound.Fill=AYSound;
    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 2:
        case 3:
        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 7:
            for(x=0; x<2; x++)
                if(FSettings.soundq>=1) DoAYSQHQ(x);
                else DoAYSQ(x);
            break;
        }
    MapperExRAM[sunindex]=V;
}
Exemple #2
0
static void AYSound(int Count)
{
    int x;
    DoAYSQ(0);
    DoAYSQ(1);
    DoAYSQ(2);
    for(x=0; x<3; x++)
        CAYBC[x]=Count;
}
Exemple #3
0
static DECLFW(Mapper69_SWH)
{
	int x;
	GameExpSound.Fill=AYSound;
	GameExpSound.HiFill=AYSoundHQ;

	switch(sunindex)
	{
		case 0:
		case 1:
		case 8:
			#if SOUND_QUALITY == 1
			DoAYSQHQ(0);
			#else
			DoAYSQ(0);
			#endif
			break;
		case 2:
		case 3:
		case 9:
			#if SOUND_QUALITY == 1
			DoAYSQHQ(1);
			#else
			DoAYSQ(1);
			#endif
			break;
		case 4:
		case 5:
		case 10:
			#if SOUND_QUALITY == 1
			DoAYSQHQ(2);
			#else
			DoAYSQ(2);
			#endif
			break;
		case 7:
			#if SOUND_QUALITY == 1
			DoAYSQHQ(x);
			DoAYSQHQ(x);
			#else
			DoAYSQ(0);
			DoAYSQ(1);
			#endif
			break;
	}
	MapperExRAM[sunindex]=V;
}