Merge pull request #43 from Gumball2415/feature-add-2a03-interference
Audio interference hotfix
This commit is contained in:
commit
ba186e1956
2 changed files with 4 additions and 4 deletions
|
@ -473,10 +473,10 @@ void Console::ProcessCpuClock()
|
|||
|
||||
void Console::ProcessInterferenceAudio()
|
||||
{
|
||||
_InvA13 = _ppu->_A13pinLow;
|
||||
_InvA13 = (_ppu->_A13pinLow == 1) ? 0 : 1; // invert relative to 2A03
|
||||
|
||||
_controlManager->GetInvOE1(_controlManager->_address);
|
||||
_InvOE1 = _controlManager->_OE1pinLow;
|
||||
_InvOE1 = (_controlManager->_OE1pinLow == 1) ? 0 : 1; // invert relative to 2A03
|
||||
|
||||
if (_controlManager->_strobed == true)
|
||||
_controlManager->_strobed = false;
|
||||
|
|
|
@ -277,8 +277,8 @@ int16_t SoundMixer::GetOutputVolume(bool forRightChannel)
|
|||
#endif
|
||||
GetChannelOutput(AudioChannel::EPSM_L, forRightChannel) * 4 +
|
||||
GetChannelOutput(AudioChannel::EPSM_R, forRightChannel) * 4 +
|
||||
GetChannelOutput(AudioChannel::InvA13, forRightChannel) * 500 +
|
||||
GetChannelOutput(AudioChannel::InvOE1, forRightChannel) * 500
|
||||
GetChannelOutput(AudioChannel::InvA13, forRightChannel) * 20 +
|
||||
GetChannelOutput(AudioChannel::InvOE1, forRightChannel) * 1000
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue