Changed Default EPSG Volume and Fixed SSG clock scaling

This commit is contained in:
Perkka2 2021-01-06 18:11:47 +01:00
parent d7213a76d5
commit 9b89b8c21f
2 changed files with 4 additions and 4 deletions

View file

@ -121,7 +121,7 @@ protected:
for (uint8_t x = 0; x < 2; x++) for (uint8_t x = 0; x < 2; x++)
{ {
_currentOutputs[x] /= 6; _currentOutputs[x] /= 12;
} }
UpdateOutputLevel(); UpdateOutputLevel();
@ -130,7 +130,7 @@ protected:
virtual uint32_t GetSSGClockFrequency() virtual uint32_t GetSSGClockFrequency()
{ {
return EPSGSSGAudio::GetSSGClockFrequency() * (3579545.0 / _console->GetSettings()->GetEPSGClockFrequency()); return EPSGSSGAudio::GetSSGClockFrequency() * (_console->GetSettings()->GetEPSGClockFrequency() / 3579545.0 );
} }
public: public:

View file

@ -23,8 +23,8 @@ namespace Mesen.GUI.Config
[MinMax(0, 100)] public UInt32 Vrc7Volume = 100; [MinMax(0, 100)] public UInt32 Vrc7Volume = 100;
[MinMax(0, 100)] public UInt32 Namco163Volume = 100; [MinMax(0, 100)] public UInt32 Namco163Volume = 100;
[MinMax(0, 100)] public UInt32 Sunsoft5bVolume = 100; [MinMax(0, 100)] public UInt32 Sunsoft5bVolume = 100;
[MinMax(0, 100)] public UInt32 EPSGVolume_L = 100; [MinMax(0, 100)] public UInt32 EPSGVolume_L = 50;
[MinMax(0, 100)] public UInt32 EPSGVolume_R = 100; [MinMax(0, 100)] public UInt32 EPSGVolume_R = 50;
[MinMax(10000, 32000000)] public UInt32 EPSGClockFrequency = 3579545; [MinMax(10000, 32000000)] public UInt32 EPSGClockFrequency = 3579545;