Beispiel #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;
}
Beispiel #2
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;
}
Beispiel #3
0
static DECLFW(Mapper69_SWH)
{
	     int x;

             switch(sr_index)
             {
              case 0:
              case 1:
              case 8:DoAYSQHQ(0);break;
              case 2:
              case 3:
              case 9:DoAYSQHQ(1);;break;
              case 4:
              case 5:
              case 10:DoAYSQHQ(2);break;
              case 7:
		     for(x=0;x<2;x++)
  		      DoAYSQHQ(x); 
		     break;
             }
             sr[sr_index]=V; 
}
Beispiel #4
0
static void AYSoundHQ(void)
{
    DoAYSQHQ(0);
    DoAYSQHQ(1);
    DoAYSQHQ(2);
}