void ayxx_set_mute_mask(UINT8 ChipID, UINT32 MuteMask) { ayxx_state *info = &AYxxData[ChipID]; switch(EMU_CORE) { #ifdef ENABLE_ALL_CORES case EC_MAME: ay8910_set_mute_mask_ym(info->chip, MuteMask); break; #endif case EC_EMU2149: PSG_setMask((PSG*)info->chip, MuteMask); break; } return; }
void ym2610_set_mute_mask(void *_info, UINT32 MuteMaskFM, UINT32 MuteMaskAY) { ym2610_state* info = (ym2610_state *)_info; ym2610_set_mutemask(info->chip, MuteMaskFM); if (info->psg != NULL) { switch(info->AY_EMU_CORE) { #ifdef ENABLE_ALL_CORES case EC_MAME: ay8910_set_mute_mask_ym(info->psg, MuteMaskAY); break; #endif case EC_EMU2149: PSG_setMask((PSG*)info->psg, MuteMaskAY); break; } } }
void ym2203_set_mute_mask(UINT8 ChipID, UINT32 MuteMaskFM, UINT32 MuteMaskAY) { ym2203_state *info = &YM2203Data[ChipID]; ym2203_set_mutemask(info->chip, MuteMaskFM); if (info->psg != NULL) { switch(AY_EMU_CORE) { #ifdef ENABLE_ALL_CORES case EC_MAME: ay8910_set_mute_mask_ym(info->psg, MuteMaskAY); break; #endif case EC_EMU2149: PSG_setMask((PSG*)info->psg, MuteMaskAY); break; } } }