Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #61 from Perkka2/master
Browse files Browse the repository at this point in the history
Fixed an EPSM SSG frequency issue and possible linux build issue
  • Loading branch information
NovaSquirrel authored Nov 13, 2021
2 parents 1a656fa + a7245cd commit 44b3cb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/EPSMAudio.h
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class EPSMAudio : public EPSMSSGAudio

ArrayInfo<int16_t> lastOutputs{ _lastOutputs, 2 };
ArrayInfo<int16_t> currentOutputs{ _currentOutputs, 2 };
ArrayInfo<InputBuffer> inputBuffer{ &_inputBuffer };
ArrayInfo<InputEntry> inputBuffer{ _inputBuffer.data(), INPUT_BUFFER_SIZE };
ValueInfo<ym3438_t> chip{ &_chip };
ValueInfo<double> clock { &_clock };
Stream(lastOutputs, currentOutputs, inputBuffer, chip, clock);
Expand Down Expand Up @@ -239,7 +239,7 @@ class EPSMAudio : public EPSMSSGAudio

virtual uint32_t GetSSGClockFrequency() override
{
return EPSMSSGAudio::GetSSGClockFrequency() * (_console->GetSettings()->GetEPSMClockFrequency() / 3579545 );
return _console->GetSettings()->GetEPSMClockFrequency() / 4;
}

public:
Expand Down

0 comments on commit 44b3cb6

Please sign in to comment.