Add files via upload

This commit is contained in:
alyosha-tas 2017-06-11 18:06:04 -04:00 committed by adelikat
parent 1957dfd42f
commit 1e29c7d955
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ namespace BizHawk.Emulation.Cores.Atari.A7800Hawk
private bool _doTicks; private bool _doTicks;
private byte _hsyncCnt; public int _hsyncCnt;
private int _capChargeStart; private int _capChargeStart;
private bool _capCharging; private bool _capCharging;
public int AudioClocks; // not savestated public int AudioClocks; // not savestated
@ -37,7 +37,7 @@ namespace BizHawk.Emulation.Cores.Atari.A7800Hawk
public void Execute(int cycles) public void Execute(int cycles)
{ {
// do the audio sampling // do the audio sampling
if (_hsyncCnt == 36 || _hsyncCnt == 148) if (_hsyncCnt == 113 || _hsyncCnt == 340)
{ {
LocalAudioCycles[AudioClocks] += (short)(AUD[0].Cycle() / 2); LocalAudioCycles[AudioClocks] += (short)(AUD[0].Cycle() / 2);
LocalAudioCycles[AudioClocks] += (short)(AUD[1].Cycle() / 2); LocalAudioCycles[AudioClocks] += (short)(AUD[1].Cycle() / 2);