public SoundMagicCard() { uint sample_rate = TVCManagers.Default.AudioManager.SampleRate; m_SN76489 = new SN76489(); m_SN76489.Initialize(sample_rate, SN_CLOCK); m_SAA1099 = new SAA1099(); m_SAA1099.Initialize(sample_rate); }
public GameCard(ExpansionMain in_expansion_main) { m_sound_chip_enable = false; m_audio_channel_index = -1; m_expansion_main = in_expansion_main; m_sound_chip = new SN76489(); m_sound_chip.Initialize(TVCManagers.Default.AudioManager.SampleRate, SN_CLOCK); m_joystick3 = new TVCJoystick(); m_joystick4 = new TVCJoystick(); }