commit
dd7d58732a
25 changed files with 1356 additions and 1203 deletions
|
@ -14,7 +14,7 @@
|
||||||
#include "CPU.h"
|
#include "CPU.h"
|
||||||
|
|
||||||
void BaseMapper::WriteRegister(uint16_t addr, uint8_t value) { }
|
void BaseMapper::WriteRegister(uint16_t addr, uint8_t value) { }
|
||||||
void BaseMapper::WriteEPSG(uint16_t addr, uint8_t value) { _epsgaudio->WriteRegister(addr, value); }
|
void BaseMapper::WriteEPSM(uint16_t addr, uint8_t value) { _epsmaudio->WriteRegister(addr, value); }
|
||||||
uint8_t BaseMapper::ReadRegister(uint16_t addr) { return 0; }
|
uint8_t BaseMapper::ReadRegister(uint16_t addr) { return 0; }
|
||||||
void BaseMapper::InitMapper(RomData &romData) { }
|
void BaseMapper::InitMapper(RomData &romData) { }
|
||||||
void BaseMapper::Reset(bool softReset) { }
|
void BaseMapper::Reset(bool softReset) { }
|
||||||
|
@ -510,9 +510,9 @@ void BaseMapper::StreamState(bool saving)
|
||||||
ArrayInfo<ChrMemoryType> chrMemoryType = { _chrMemoryType, 0x40 };
|
ArrayInfo<ChrMemoryType> chrMemoryType = { _chrMemoryType, 0x40 };
|
||||||
ArrayInfo<MemoryAccessType> prgMemoryAccess = { _prgMemoryAccess, 0x100 };
|
ArrayInfo<MemoryAccessType> prgMemoryAccess = { _prgMemoryAccess, 0x100 };
|
||||||
ArrayInfo<MemoryAccessType> chrMemoryAccess = { _chrMemoryAccess, 0x40 };
|
ArrayInfo<MemoryAccessType> chrMemoryAccess = { _chrMemoryAccess, 0x40 };
|
||||||
SnapshotInfo epsgaudio{ _epsgaudio.get() };
|
SnapshotInfo epsmaudio{ _epsmaudio.get() };
|
||||||
|
|
||||||
Stream(_mirroringType, chrRam, workRam, saveRam, nametableRam, prgMemoryOffset, chrMemoryOffset, prgMemoryType, chrMemoryType, prgMemoryAccess, chrMemoryAccess, epsgaudio);
|
Stream(_mirroringType, chrRam, workRam, saveRam, nametableRam, prgMemoryOffset, chrMemoryOffset, prgMemoryType, chrMemoryType, prgMemoryAccess, chrMemoryAccess, epsmaudio);
|
||||||
|
|
||||||
if(!saving) {
|
if(!saving) {
|
||||||
RestorePrgChrState();
|
RestorePrgChrState();
|
||||||
|
@ -639,7 +639,7 @@ void BaseMapper::Initialize(RomData &romData)
|
||||||
|
|
||||||
InitMapper();
|
InitMapper();
|
||||||
InitMapper(romData);
|
InitMapper(romData);
|
||||||
_epsgaudio.reset(new EPSGAudio(_console));
|
_epsmaudio.reset(new EPSMAudio(_console));
|
||||||
|
|
||||||
//Load battery data if present
|
//Load battery data if present
|
||||||
LoadBattery();
|
LoadBattery();
|
||||||
|
@ -782,7 +782,8 @@ uint8_t BaseMapper::DebugReadRAM(uint16_t addr)
|
||||||
|
|
||||||
void BaseMapper::WriteRAM(uint16_t addr, uint8_t value)
|
void BaseMapper::WriteRAM(uint16_t addr, uint8_t value)
|
||||||
{
|
{
|
||||||
if((addr == 0x4016) & (_console->GetCpu()->GetCycleCount() % 2 == 1)){ WriteEPSG(addr, value); }
|
if((addr == 0x4016) & (_console->GetCpu()->GetCycleCount() % 2 == 1)){ WriteEPSM(addr, value); }
|
||||||
|
if ((addr >= 0x401c && addr <= 0x401f)) { WriteEPSM(addr, value); }
|
||||||
if(_isWriteRegisterAddr[addr]) {
|
if(_isWriteRegisterAddr[addr]) {
|
||||||
if(_hasBusConflicts) {
|
if(_hasBusConflicts) {
|
||||||
uint8_t prgValue = _prgPages[addr >> 8][(uint8_t)addr];
|
uint8_t prgValue = _prgPages[addr >> 8][(uint8_t)addr];
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include "RomData.h"
|
#include "RomData.h"
|
||||||
#include "Console.h"
|
#include "Console.h"
|
||||||
#include "CPU.h"
|
#include "CPU.h"
|
||||||
#include "EPSGAudio.h"
|
#include "EPSMAudio.h"
|
||||||
|
|
||||||
class BaseControlDevice;
|
class BaseControlDevice;
|
||||||
|
|
||||||
|
@ -106,7 +106,7 @@ protected:
|
||||||
uint8_t InternalReadRam(uint16_t addr);
|
uint8_t InternalReadRam(uint16_t addr);
|
||||||
|
|
||||||
virtual void WriteRegister(uint16_t addr, uint8_t value);
|
virtual void WriteRegister(uint16_t addr, uint8_t value);
|
||||||
virtual void WriteEPSG(uint16_t addr, uint8_t value);
|
virtual void WriteEPSM(uint16_t addr, uint8_t value);
|
||||||
virtual uint8_t ReadRegister(uint16_t addr);
|
virtual uint8_t ReadRegister(uint16_t addr);
|
||||||
|
|
||||||
void SelectPrgPage4x(uint16_t slot, uint16_t page, PrgMemoryType memoryType = PrgMemoryType::PrgRom);
|
void SelectPrgPage4x(uint16_t slot, uint16_t page, PrgMemoryType memoryType = PrgMemoryType::PrgRom);
|
||||||
|
@ -158,7 +158,7 @@ protected:
|
||||||
public:
|
public:
|
||||||
static constexpr uint32_t NametableCount = 0x10;
|
static constexpr uint32_t NametableCount = 0x10;
|
||||||
static constexpr uint32_t NametableSize = 0x400;
|
static constexpr uint32_t NametableSize = 0x400;
|
||||||
unique_ptr<EPSGAudio> _epsgaudio;
|
unique_ptr<EPSMAudio> _epsmaudio;
|
||||||
void Initialize(RomData &romData);
|
void Initialize(RomData &romData);
|
||||||
|
|
||||||
virtual ~BaseMapper();
|
virtual ~BaseMapper();
|
||||||
|
@ -168,7 +168,7 @@ public:
|
||||||
|
|
||||||
virtual void SetNesModel(NesModel model) { }
|
virtual void SetNesModel(NesModel model) { }
|
||||||
virtual void ProcessCpuClock() { }
|
virtual void ProcessCpuClock() { }
|
||||||
virtual void ProcessEPSGClock() { _epsgaudio->Clock(); }
|
virtual void ProcessEPSMClock() { _epsmaudio->Clock(); }
|
||||||
virtual void NotifyVRAMAddressChange(uint16_t addr);
|
virtual void NotifyVRAMAddressChange(uint16_t addr);
|
||||||
virtual void GetMemoryRanges(MemoryRanges &ranges) override;
|
virtual void GetMemoryRanges(MemoryRanges &ranges) override;
|
||||||
|
|
||||||
|
|
|
@ -465,7 +465,7 @@ bool Console::Initialize(VirtualFile &romFile, VirtualFile &patchFile, bool forP
|
||||||
|
|
||||||
void Console::ProcessCpuClock()
|
void Console::ProcessCpuClock()
|
||||||
{
|
{
|
||||||
_mapper->ProcessEPSGClock();
|
_mapper->ProcessEPSMClock();
|
||||||
_mapper->ProcessCpuClock();
|
_mapper->ProcessCpuClock();
|
||||||
_apu->ProcessCpuClock();
|
_apu->ProcessCpuClock();
|
||||||
}
|
}
|
||||||
|
|
|
@ -559,7 +559,7 @@
|
||||||
<ClInclude Include="Eeprom24C01.h" />
|
<ClInclude Include="Eeprom24C01.h" />
|
||||||
<ClInclude Include="Eeprom24C02.h" />
|
<ClInclude Include="Eeprom24C02.h" />
|
||||||
<ClInclude Include="emu2149.h" />
|
<ClInclude Include="emu2149.h" />
|
||||||
<ClInclude Include="EPSGAudio.h" />
|
<ClInclude Include="EPSMAudio.h" />
|
||||||
<ClInclude Include="EventManager.h" />
|
<ClInclude Include="EventManager.h" />
|
||||||
<ClInclude Include="FaridSlrom.h" />
|
<ClInclude Include="FaridSlrom.h" />
|
||||||
<ClInclude Include="FaridUnrom.h" />
|
<ClInclude Include="FaridUnrom.h" />
|
||||||
|
|
|
@ -1508,9 +1508,6 @@
|
||||||
<ClInclude Include="ym3438.h">
|
<ClInclude Include="ym3438.h">
|
||||||
<Filter>Nes\Mappers\EPSG</Filter>
|
<Filter>Nes\Mappers\EPSG</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="EPSGAudio.h">
|
|
||||||
<Filter>Nes\Mappers\EPSG</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="SSGAudio.h">
|
<ClInclude Include="SSGAudio.h">
|
||||||
<Filter>Nes\Mappers</Filter>
|
<Filter>Nes\Mappers</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
@ -1520,6 +1517,9 @@
|
||||||
<ClInclude Include="emu2149.h">
|
<ClInclude Include="emu2149.h">
|
||||||
<Filter>Nes\Mappers\EPSG</Filter>
|
<Filter>Nes\Mappers\EPSG</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="EPSMAudio.h">
|
||||||
|
<Filter>Nes\Mappers\EPSG</Filter>
|
||||||
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="stdafx.cpp">
|
<ClCompile Include="stdafx.cpp">
|
||||||
|
|
|
@ -9,9 +9,9 @@
|
||||||
#include <array>
|
#include <array>
|
||||||
#include "ym3438.h"
|
#include "ym3438.h"
|
||||||
|
|
||||||
using EPSGSSGAudio = SSGAudio<AudioChannel::EPSG_L, AudioChannel::EPSG_R>;
|
using EPSMSSGAudio = SSGAudio<AudioChannel::EPSM_L, AudioChannel::EPSM_R>;
|
||||||
|
|
||||||
class EPSGAudio : public EPSGSSGAudio
|
class EPSMAudio : public EPSMSSGAudio
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
ym3438_t _chip;
|
ym3438_t _chip;
|
||||||
|
@ -42,7 +42,7 @@ private:
|
||||||
int16_t summedOutput = 0;
|
int16_t summedOutput = 0;
|
||||||
for (size_t x = 0; x < 2; x++)
|
for (size_t x = 0; x < 2; x++)
|
||||||
{
|
{
|
||||||
_console->GetApu()->AddExpansionAudioDelta(x == 0 ? AudioChannel::EPSG_L : AudioChannel::EPSG_R, _currentOutputs[x] - _lastOutputs[x]);
|
_console->GetApu()->AddExpansionAudioDelta(x == 0 ? AudioChannel::EPSM_L : AudioChannel::EPSM_R, _currentOutputs[x] - _lastOutputs[x]);
|
||||||
_lastOutputs[x] = _currentOutputs[x];
|
_lastOutputs[x] = _currentOutputs[x];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@ private:
|
||||||
|
|
||||||
if (_inputBuffer[cycle].wrote)
|
if (_inputBuffer[cycle].wrote)
|
||||||
{
|
{
|
||||||
std::cout << "EPSG CHIP DOUBLE WRITE" << std::endl;
|
std::cout << "EPSM CHIP DOUBLE WRITE" << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
_inputBuffer[cycle] = {
|
_inputBuffer[cycle] = {
|
||||||
|
@ -71,13 +71,13 @@ private:
|
||||||
|
|
||||||
uint32_t getClockFrequency()
|
uint32_t getClockFrequency()
|
||||||
{
|
{
|
||||||
return _console->GetSettings()->GetEPSGClockFrequency() / 6;
|
return _console->GetSettings()->GetEPSMClockFrequency() / 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void StreamState(bool saving) override
|
void StreamState(bool saving) override
|
||||||
{
|
{
|
||||||
EPSGSSGAudio::StreamState(saving);
|
EPSMSSGAudio::StreamState(saving);
|
||||||
|
|
||||||
ArrayInfo<int16_t> lastOutputs{ _lastOutputs, 2 };
|
ArrayInfo<int16_t> lastOutputs{ _lastOutputs, 2 };
|
||||||
ArrayInfo<int16_t> currentOutputs{ _currentOutputs, 2 };
|
ArrayInfo<int16_t> currentOutputs{ _currentOutputs, 2 };
|
||||||
|
@ -89,7 +89,7 @@ protected:
|
||||||
|
|
||||||
void ClockAudio() override
|
void ClockAudio() override
|
||||||
{
|
{
|
||||||
EPSGSSGAudio::ClockAudio();
|
EPSMSSGAudio::ClockAudio();
|
||||||
|
|
||||||
_clock += getClockFrequency() / (double)_console->GetCpu()->GetClockRate(_console->GetModel());
|
_clock += getClockFrequency() / (double)_console->GetCpu()->GetClockRate(_console->GetModel());
|
||||||
|
|
||||||
|
@ -132,11 +132,11 @@ protected:
|
||||||
|
|
||||||
virtual uint32_t GetSSGClockFrequency()
|
virtual uint32_t GetSSGClockFrequency()
|
||||||
{
|
{
|
||||||
return EPSGSSGAudio::GetSSGClockFrequency() * (_console->GetSettings()->GetEPSGClockFrequency() / 3579545.0 );
|
return EPSMSSGAudio::GetSSGClockFrequency() * (_console->GetSettings()->GetEPSMClockFrequency() / 3579545.0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
EPSGAudio(shared_ptr<Console> console) : EPSGSSGAudio(console)
|
EPSMAudio(shared_ptr<Console> console) : EPSMSSGAudio(console)
|
||||||
{
|
{
|
||||||
memset(_lastOutputs, 0, sizeof(_lastOutputs));
|
memset(_lastOutputs, 0, sizeof(_lastOutputs));
|
||||||
memset(_currentOutputs, 0, sizeof(_currentOutputs));
|
memset(_currentOutputs, 0, sizeof(_currentOutputs));
|
||||||
|
@ -173,10 +173,14 @@ public:
|
||||||
|
|
||||||
const uint8_t a04016 = (writeAddr & 0xF000) == 0xE000;
|
const uint8_t a04016 = (writeAddr & 0xF000) == 0xE000;
|
||||||
const uint8_t a14016 = !!(writeAddr & 0xF);
|
const uint8_t a14016 = !!(writeAddr & 0xF);
|
||||||
EPSGSSGAudio::WriteRegister(writeAddr, writeValue);
|
EPSMSSGAudio::WriteRegister(writeAddr, writeValue);
|
||||||
WriteToChip(a04016 | (a14016 << 1), writeValue);
|
WriteToChip(a04016 | (a14016 << 1), writeValue);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (addr == 0x401c) { addr = 0xC000; }
|
||||||
|
if (addr == 0x401d) { addr = 0xE000; }
|
||||||
|
if (addr == 0x401e) { addr = 0xC002; }
|
||||||
|
if (addr == 0x401f) { addr = 0xE002; }
|
||||||
|
|
||||||
switch(addr) {
|
switch(addr) {
|
||||||
case 0xC000:
|
case 0xC000:
|
||||||
|
@ -186,7 +190,7 @@ public:
|
||||||
|
|
||||||
const uint8_t a0 = (addr & 0xF000) == 0xE000;
|
const uint8_t a0 = (addr & 0xF000) == 0xE000;
|
||||||
const uint8_t a1 = !!(addr & 0xF);
|
const uint8_t a1 = !!(addr & 0xF);
|
||||||
EPSGSSGAudio::WriteRegister(addr, value);
|
EPSMSSGAudio::WriteRegister(addr, value);
|
||||||
WriteToChip(a0 | (a1 << 1), value);
|
WriteToChip(a0 | (a1 << 1), value);
|
||||||
|
|
||||||
break;
|
break;
|
|
@ -117,8 +117,8 @@ enum class AudioChannel
|
||||||
VRC7 = 8,
|
VRC7 = 8,
|
||||||
Namco163 = 9,
|
Namco163 = 9,
|
||||||
Sunsoft5B = 10,
|
Sunsoft5B = 10,
|
||||||
EPSG_L = 11,
|
EPSM_L = 11,
|
||||||
EPSG_R = 12,
|
EPSM_R = 12,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum class EqualizerFilterType
|
enum class EqualizerFilterType
|
||||||
|
@ -659,7 +659,7 @@ private:
|
||||||
|
|
||||||
bool _audioSettingsChanged = false;
|
bool _audioSettingsChanged = false;
|
||||||
uint32_t _audioLatency = 50;
|
uint32_t _audioLatency = 50;
|
||||||
uint32_t _EPSGClockFrequency = 3579545;
|
uint32_t _EPSMClockFrequency = 3579545;
|
||||||
double _channelVolume[13] = { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 };
|
double _channelVolume[13] = { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 };
|
||||||
double _channelPanning[13] = { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.0, 2.0 };
|
double _channelPanning[13] = { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.0, 2.0 };
|
||||||
EqualizerFilterType _equalizerFilterType = EqualizerFilterType::None;
|
EqualizerFilterType _equalizerFilterType = EqualizerFilterType::None;
|
||||||
|
@ -991,9 +991,9 @@ public:
|
||||||
_audioSettingsChanged = true;
|
_audioSettingsChanged = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetEPSGClockFrequency(uint32_t clockFrequency)
|
void SetEPSMClockFrequency(uint32_t clockFrequency)
|
||||||
{
|
{
|
||||||
_EPSGClockFrequency = clockFrequency;
|
_EPSMClockFrequency = clockFrequency;
|
||||||
_audioSettingsChanged = true;
|
_audioSettingsChanged = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1168,9 +1168,9 @@ public:
|
||||||
return _audioLatency;
|
return _audioLatency;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t GetEPSGClockFrequency()
|
uint32_t GetEPSMClockFrequency()
|
||||||
{
|
{
|
||||||
return _EPSGClockFrequency;
|
return _EPSMClockFrequency;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetVideoFilterType(VideoFilterType videoFilterType)
|
void SetVideoFilterType(VideoFilterType videoFilterType)
|
||||||
|
|
|
@ -133,7 +133,7 @@ void MemoryManager::Write(uint16_t addr, uint8_t value, MemoryOperationType oper
|
||||||
{
|
{
|
||||||
if(_console->DebugProcessRamOperation(operationType, addr, value)) {
|
if(_console->DebugProcessRamOperation(operationType, addr, value)) {
|
||||||
_ramWriteHandlers[addr]->WriteRAM(addr, value);
|
_ramWriteHandlers[addr]->WriteRAM(addr, value);
|
||||||
if (addr == 0x4016) {
|
if ((addr == 0x4016) | (addr >= 0x401c && addr <= 0x401f)) {
|
||||||
_ramWriteHandlers[0xE000]->WriteRAM(addr, value);
|
_ramWriteHandlers[0xE000]->WriteRAM(addr, value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -91,7 +91,10 @@ void NsfLoader::InitializeFromHeader(RomData &romData)
|
||||||
chips.push_back("Sunsoft 5B");
|
chips.push_back("Sunsoft 5B");
|
||||||
}
|
}
|
||||||
if (header.SoundChips & 0x40) {
|
if (header.SoundChips & 0x40) {
|
||||||
chips.push_back("EPSG");
|
chips.push_back("VT02");
|
||||||
|
}
|
||||||
|
if (header.SoundChips & 0x80) {
|
||||||
|
chips.push_back("EPSM");
|
||||||
}
|
}
|
||||||
if(chips.empty()) {
|
if(chips.empty()) {
|
||||||
chips.push_back("<none>");
|
chips.push_back("<none>");
|
||||||
|
|
|
@ -27,7 +27,7 @@ void NsfMapper::InitMapper()
|
||||||
_fdsAudio.reset(new FdsAudio(_console));
|
_fdsAudio.reset(new FdsAudio(_console));
|
||||||
_namcoAudio.reset(new Namco163Audio(_console));
|
_namcoAudio.reset(new Namco163Audio(_console));
|
||||||
_sunsoftAudio.reset(new Sunsoft5bAudio(_console));
|
_sunsoftAudio.reset(new Sunsoft5bAudio(_console));
|
||||||
_epsgAudio.reset(new EPSGAudio(_console));
|
_epsmAudio.reset(new EPSMAudio(_console));
|
||||||
|
|
||||||
SetCpuMemoryMapping(0x3F00, 0x3FFF, PrgMemoryType::WorkRam, 0x2000, MemoryAccessType::Read);
|
SetCpuMemoryMapping(0x3F00, 0x3FFF, PrgMemoryType::WorkRam, 0x2000, MemoryAccessType::Read);
|
||||||
memcpy(GetWorkRam() + 0x2000, _nsfBios, 0x100);
|
memcpy(GetWorkRam() + 0x2000, _nsfBios, 0x100);
|
||||||
|
@ -109,8 +109,9 @@ void NsfMapper::InitMapper(RomData& romData)
|
||||||
AddRegisterRange(0x4040, 0x4092, MemoryOperation::Any);
|
AddRegisterRange(0x4040, 0x4092, MemoryOperation::Any);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(_nsfHeader.SoundChips & NsfSoundChips::EPSG) {
|
if(_nsfHeader.SoundChips & NsfSoundChips::EPSM) {
|
||||||
AddRegisterRange(0x4016, 0x4016, MemoryOperation::Write);
|
AddRegisterRange(0x4016, 0x4016, MemoryOperation::Write);
|
||||||
|
AddRegisterRange(0x401c, 0x401f, MemoryOperation::Write);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -277,8 +278,8 @@ void NsfMapper::ProcessCpuClock()
|
||||||
if(_nsfHeader.SoundChips & NsfSoundChips::FDS) {
|
if(_nsfHeader.SoundChips & NsfSoundChips::FDS) {
|
||||||
_fdsAudio->Clock();
|
_fdsAudio->Clock();
|
||||||
}
|
}
|
||||||
if (_nsfHeader.SoundChips & NsfSoundChips::EPSG) {
|
if (_nsfHeader.SoundChips & NsfSoundChips::EPSM) {
|
||||||
_epsgAudio->Clock();
|
_epsmAudio->Clock();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -358,7 +359,11 @@ void NsfMapper::WriteRegister(uint16_t addr, uint8_t value)
|
||||||
}*/
|
}*/
|
||||||
} else if((_nsfHeader.SoundChips & NsfSoundChips::Sunsoft) && addr >= 0xC000 && addr <= 0xFFFF) {
|
} else if((_nsfHeader.SoundChips & NsfSoundChips::Sunsoft) && addr >= 0xC000 && addr <= 0xFFFF) {
|
||||||
_sunsoftAudio->WriteRegister(addr, value);
|
_sunsoftAudio->WriteRegister(addr, value);
|
||||||
} else {
|
}
|
||||||
|
else if ((_nsfHeader.SoundChips & NsfSoundChips::EPSM) && addr >= 0x401C && addr <= 0x401F) {
|
||||||
|
_epsmAudio->WriteRegister(addr, value);
|
||||||
|
}
|
||||||
|
else {
|
||||||
switch(addr) {
|
switch(addr) {
|
||||||
case 0x3E10: _irqReloadValue = (_irqReloadValue & 0xFF00) | value; break;
|
case 0x3E10: _irqReloadValue = (_irqReloadValue & 0xFF00) | value; break;
|
||||||
case 0x3E11: _irqReloadValue = (_irqReloadValue & 0xFF) | (value << 8); break;
|
case 0x3E11: _irqReloadValue = (_irqReloadValue & 0xFF) | (value << 8); break;
|
||||||
|
@ -409,7 +414,7 @@ void NsfMapper::WriteRegister(uint16_t addr, uint8_t value)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x4016:
|
case 0x4016:
|
||||||
_epsgAudio->WriteRegister(addr, value);
|
_epsmAudio->WriteRegister(addr, value);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -490,7 +495,7 @@ void NsfMapper::StreamState(bool saving)
|
||||||
SnapshotInfo fdsAudio { _fdsAudio.get() };
|
SnapshotInfo fdsAudio { _fdsAudio.get() };
|
||||||
SnapshotInfo namcoAudio { _namcoAudio.get() };
|
SnapshotInfo namcoAudio { _namcoAudio.get() };
|
||||||
SnapshotInfo sunsoftAudio { _sunsoftAudio.get() };
|
SnapshotInfo sunsoftAudio { _sunsoftAudio.get() };
|
||||||
SnapshotInfo epsgAudio{ _epsgAudio.get() };
|
SnapshotInfo epsgAudio{ _epsmAudio.get() };
|
||||||
|
|
||||||
Stream(
|
Stream(
|
||||||
_model, _needInit, _irqEnabled, _irqReloadValue, _irqCounter, _irqStatus, _debugIrqStatus, _mmc5MultiplierValues[0], _mmc5MultiplierValues[1],
|
_model, _needInit, _irqEnabled, _irqReloadValue, _irqCounter, _irqStatus, _debugIrqStatus, _mmc5MultiplierValues[0], _mmc5MultiplierValues[1],
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#include "FdsAudio.h"
|
#include "FdsAudio.h"
|
||||||
#include "Namco163Audio.h"
|
#include "Namco163Audio.h"
|
||||||
#include "Sunsoft5bAudio.h"
|
#include "Sunsoft5bAudio.h"
|
||||||
#include "EPSGAudio.h"
|
#include "EPSMAudio.h"
|
||||||
|
|
||||||
enum class NsfIrqType
|
enum class NsfIrqType
|
||||||
{
|
{
|
||||||
|
@ -27,7 +27,8 @@ private:
|
||||||
MMC5 = 0x08,
|
MMC5 = 0x08,
|
||||||
Namco = 0x10,
|
Namco = 0x10,
|
||||||
Sunsoft = 0x20,
|
Sunsoft = 0x20,
|
||||||
EPSG = 0x40
|
VT02 = 0x40,
|
||||||
|
EPSM = 0x80
|
||||||
};
|
};
|
||||||
|
|
||||||
NesModel _model;
|
NesModel _model;
|
||||||
|
@ -39,7 +40,7 @@ private:
|
||||||
unique_ptr<FdsAudio> _fdsAudio;
|
unique_ptr<FdsAudio> _fdsAudio;
|
||||||
unique_ptr<Namco163Audio> _namcoAudio;
|
unique_ptr<Namco163Audio> _namcoAudio;
|
||||||
unique_ptr<Sunsoft5bAudio> _sunsoftAudio;
|
unique_ptr<Sunsoft5bAudio> _sunsoftAudio;
|
||||||
unique_ptr<EPSGAudio> _epsgAudio;
|
unique_ptr<EPSMAudio> _epsmAudio;
|
||||||
|
|
||||||
bool _needInit = false;
|
bool _needInit = false;
|
||||||
bool _irqEnabled = false;
|
bool _irqEnabled = false;
|
||||||
|
|
|
@ -4,8 +4,89 @@
|
||||||
#include "APU.h"
|
#include "APU.h"
|
||||||
#include "BaseExpansionAudio.h"
|
#include "BaseExpansionAudio.h"
|
||||||
#include "Console.h"
|
#include "Console.h"
|
||||||
|
#include "emu2149.h"
|
||||||
|
|
||||||
|
//#define SSG_USE_OLD_EMU
|
||||||
|
#ifndef SSG_USE_OLD_EMU
|
||||||
|
#define SSG_USE_EMU2149
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef SSG_USE_EMU2149
|
||||||
|
template<AudioChannel...channels>
|
||||||
|
class SSGAudio : public BaseExpansionAudio
|
||||||
|
{
|
||||||
|
private:
|
||||||
|
std::unique_ptr<PSG, void(*)(PSG*)> _psg;
|
||||||
|
uint8_t _currentRegister;
|
||||||
|
int16_t _lastOutput;
|
||||||
|
int16_t _currentOutput;
|
||||||
|
double _clock;
|
||||||
|
bool _processTick;
|
||||||
|
static constexpr uint8_t cycleCount = 1;
|
||||||
|
|
||||||
|
void UpdateOutputLevel()
|
||||||
|
{
|
||||||
|
(_console->GetApu()->AddExpansionAudioDelta(channels, _currentOutput - _lastOutput), ...);
|
||||||
|
_lastOutput = _currentOutput;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void StreamState(bool saving) override
|
||||||
|
{
|
||||||
|
BaseExpansionAudio::StreamState(saving);
|
||||||
|
ValueInfo<PSG> psg{ _psg.get() };
|
||||||
|
Stream( _currentRegister, _lastOutput, _clock, psg);
|
||||||
|
}
|
||||||
|
|
||||||
|
void ClockAudio() override
|
||||||
|
{
|
||||||
|
_clock += GetSSGClockFrequency() / (double)_console->GetCpu()->GetClockRate(_console->GetModel());
|
||||||
|
|
||||||
|
while (_clock >= cycleCount)
|
||||||
|
{
|
||||||
|
_currentOutput = 0;
|
||||||
|
|
||||||
|
for (uint8_t cycle = 0; cycle < cycleCount; cycle++)
|
||||||
|
{
|
||||||
|
_clock--;
|
||||||
|
_currentOutput = PSG_calc(_psg.get());
|
||||||
|
}
|
||||||
|
|
||||||
|
_currentOutput /= 26;
|
||||||
|
|
||||||
|
UpdateOutputLevel();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
virtual uint32_t GetSSGClockFrequency()
|
||||||
|
{
|
||||||
|
return _console->GetCpu()->GetClockRate(_console->GetModel()) / 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
public:
|
||||||
|
SSGAudio(shared_ptr<Console> console) : BaseExpansionAudio(console), _psg{ PSG_new(1 , 1), &PSG_delete }
|
||||||
|
{
|
||||||
|
_currentRegister = 0;
|
||||||
|
_lastOutput = 0;
|
||||||
|
_clock = 0;
|
||||||
|
PSG_reset(_psg.get());
|
||||||
|
}
|
||||||
|
|
||||||
|
void WriteRegister(uint16_t addr, uint8_t value)
|
||||||
|
{
|
||||||
|
switch (addr) {
|
||||||
|
case 0xC000:
|
||||||
|
_currentRegister = value;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 0xE000:
|
||||||
|
if (_currentRegister <= 0xF)
|
||||||
|
PSG_writeReg(_psg.get(), _currentRegister, value);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
#else
|
||||||
template<AudioChannel...channels>
|
template<AudioChannel...channels>
|
||||||
class SSGAudio : public BaseExpansionAudio
|
class SSGAudio : public BaseExpansionAudio
|
||||||
{
|
{
|
||||||
|
@ -143,3 +224,4 @@ public:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
#endif
|
|
@ -275,8 +275,8 @@ int16_t SoundMixer::GetOutputVolume(bool forRightChannel)
|
||||||
#else
|
#else
|
||||||
GetChannelOutput(AudioChannel::VRC7, forRightChannel) +
|
GetChannelOutput(AudioChannel::VRC7, forRightChannel) +
|
||||||
#endif
|
#endif
|
||||||
GetChannelOutput(AudioChannel::EPSG_L, forRightChannel) * 4 +
|
GetChannelOutput(AudioChannel::EPSM_L, forRightChannel) * 4 +
|
||||||
GetChannelOutput(AudioChannel::EPSG_R, forRightChannel) * 4
|
GetChannelOutput(AudioChannel::EPSM_R, forRightChannel) * 4
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -32,10 +32,10 @@ static uint32_t voltbl[2][32] = {
|
||||||
0x0B, 0x0D, 0x0F, 0x12,
|
0x0B, 0x0D, 0x0F, 0x12,
|
||||||
0x16, 0x1A, 0x1F, 0x25, 0x2D, 0x35, 0x3F, 0x4C, 0x5A, 0x6A, 0x7F, 0x97,
|
0x16, 0x1A, 0x1F, 0x25, 0x2D, 0x35, 0x3F, 0x4C, 0x5A, 0x6A, 0x7F, 0x97,
|
||||||
0xB4, 0xD6, 0xFF, 0xFF},
|
0xB4, 0xD6, 0xFF, 0xFF},
|
||||||
{0x00, 0x00, 0x01, 0x01, 0x02, 0x02, 0x03, 0x03, 0x05, 0x05, 0x07, 0x07,
|
{0x00, 0x00, 0x03, 0x03, 0x04, 0x04, 0x06, 0x06, 0x09, 0x09, 0x0D, 0x0D,
|
||||||
0x0B, 0x0B, 0x0F, 0x0F,
|
0x12, 0x12, 0x1D, 0x1D,
|
||||||
0x16, 0x16, 0x1F, 0x1F, 0x2D, 0x2D, 0x3F, 0x3F, 0x5A, 0x5A, 0x7F, 0x7F,
|
0x22, 0x22, 0x37, 0x37, 0x4D, 0x4D, 0x62, 0x62, 0x82, 0x82, 0xA6, 0xA6,
|
||||||
0xB4, 0xB4, 0xFF, 0xFF}
|
0xD0, 0xD0, 0xFF, 0xFF}
|
||||||
};
|
};
|
||||||
|
|
||||||
static uint8_t regmsk[16] = {
|
static uint8_t regmsk[16] = {
|
||||||
|
@ -52,16 +52,23 @@ internal_refresh (PSG * psg)
|
||||||
{
|
{
|
||||||
psg->base_incr = 1 << GETA_BITS;
|
psg->base_incr = 1 << GETA_BITS;
|
||||||
psg->realstep = (uint32_t)((1 << 31) / psg->rate);
|
psg->realstep = (uint32_t)((1 << 31) / psg->rate);
|
||||||
psg->psgstep = (uint32_t) ((1 << 31) / (psg->clk / 16));
|
psg->psgstep = (uint32_t)((1 << 31) / (psg->clk / 8));
|
||||||
psg->psgtime = 0;
|
psg->psgtime = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
psg->base_incr =
|
psg->base_incr =
|
||||||
(uint32_t) ((double) psg->clk * (1 << GETA_BITS) / (16 * psg->rate));
|
(uint32_t)((double)psg->clk * (1 << GETA_BITS) / (8 * psg->rate));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
PSG_set_clock(PSG* psg, uint32_t c)
|
||||||
|
{
|
||||||
|
psg->clk = c;
|
||||||
|
internal_refresh(psg);
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
PSG_set_rate(PSG* psg, uint32_t r)
|
PSG_set_rate(PSG* psg, uint32_t r)
|
||||||
{
|
{
|
||||||
|
|
|
@ -68,6 +68,7 @@ extern "C"
|
||||||
} PSG;
|
} PSG;
|
||||||
|
|
||||||
void PSG_set_quality(PSG* psg, uint32_t q);
|
void PSG_set_quality(PSG* psg, uint32_t q);
|
||||||
|
void PSG_set_clock(PSG* psg, uint32_t c);
|
||||||
void PSG_set_rate(PSG* psg, uint32_t r);
|
void PSG_set_rate(PSG* psg, uint32_t r);
|
||||||
PSG* PSG_new(uint32_t clk, uint32_t rate);
|
PSG* PSG_new(uint32_t clk, uint32_t rate);
|
||||||
void PSG_reset(PSG*);
|
void PSG_reset(PSG*);
|
||||||
|
|
|
@ -6,7 +6,7 @@ namespace Mesen.GUI.Config
|
||||||
{
|
{
|
||||||
public string AudioDevice = "";
|
public string AudioDevice = "";
|
||||||
public bool EnableAudio = true;
|
public bool EnableAudio = true;
|
||||||
public bool EnableEPSG = true;
|
public bool EnableEPSM = true;
|
||||||
|
|
||||||
public bool DisableDynamicSampleRate = false;
|
public bool DisableDynamicSampleRate = false;
|
||||||
|
|
||||||
|
@ -24,10 +24,10 @@ 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 = 50;
|
[MinMax(0, 100)] public UInt32 EPSMVolume_L = 50;
|
||||||
[MinMax(0, 100)] public UInt32 EPSGVolume_R = 50;
|
[MinMax(0, 100)] public UInt32 EPSMVolume_R = 50;
|
||||||
|
|
||||||
[MinMax(10000, 32000000)] public UInt32 EPSGClockFrequency = 3579545;
|
[MinMax(10000, 32000000)] public UInt32 EPSMClockFrequency = 3579545;
|
||||||
|
|
||||||
[MinMax(-100, 100)] public Int32 Square1Panning = 0;
|
[MinMax(-100, 100)] public Int32 Square1Panning = 0;
|
||||||
[MinMax(-100, 100)] public Int32 Square2Panning = 0;
|
[MinMax(-100, 100)] public Int32 Square2Panning = 0;
|
||||||
|
@ -40,8 +40,8 @@ namespace Mesen.GUI.Config
|
||||||
[MinMax(-100, 100)] public Int32 Vrc7Panning = 0;
|
[MinMax(-100, 100)] public Int32 Vrc7Panning = 0;
|
||||||
[MinMax(-100, 100)] public Int32 Namco163Panning = 0;
|
[MinMax(-100, 100)] public Int32 Namco163Panning = 0;
|
||||||
[MinMax(-100, 100)] public Int32 Sunsoft5bPanning = 0;
|
[MinMax(-100, 100)] public Int32 Sunsoft5bPanning = 0;
|
||||||
[MinMax(-100, 100)] public Int32 EPSGPanning_L = -100;
|
[MinMax(-100, 100)] public Int32 EPSMPanning_L = -100;
|
||||||
[MinMax(-100, 100)] public Int32 EPSGPanning_R = 100;
|
[MinMax(-100, 100)] public Int32 EPSMPanning_R = 100;
|
||||||
|
|
||||||
[ValidValues(11025, 22050, 44100, 48000, 96000)] public UInt32 SampleRate = 48000;
|
[ValidValues(11025, 22050, 44100, 48000, 96000)] public UInt32 SampleRate = 48000;
|
||||||
public bool ReduceSoundInBackground = true;
|
public bool ReduceSoundInBackground = true;
|
||||||
|
@ -121,10 +121,10 @@ namespace Mesen.GUI.Config
|
||||||
InteropEmu.SetChannelVolume(AudioChannel.VRC7, ConvertVolume(audioInfo.Vrc7Volume));
|
InteropEmu.SetChannelVolume(AudioChannel.VRC7, ConvertVolume(audioInfo.Vrc7Volume));
|
||||||
InteropEmu.SetChannelVolume(AudioChannel.Namco163, ConvertVolume(audioInfo.Namco163Volume));
|
InteropEmu.SetChannelVolume(AudioChannel.Namco163, ConvertVolume(audioInfo.Namco163Volume));
|
||||||
InteropEmu.SetChannelVolume(AudioChannel.Sunsoft5B, ConvertVolume(audioInfo.Sunsoft5bVolume));
|
InteropEmu.SetChannelVolume(AudioChannel.Sunsoft5B, ConvertVolume(audioInfo.Sunsoft5bVolume));
|
||||||
InteropEmu.SetChannelVolume(AudioChannel.EPSG_L, ConvertVolume(audioInfo.EPSGVolume_L));
|
InteropEmu.SetChannelVolume(AudioChannel.EPSM_L, ConvertVolume(audioInfo.EPSMVolume_L));
|
||||||
InteropEmu.SetChannelVolume(AudioChannel.EPSG_R, ConvertVolume(audioInfo.EPSGVolume_R));
|
InteropEmu.SetChannelVolume(AudioChannel.EPSM_R, ConvertVolume(audioInfo.EPSMVolume_R));
|
||||||
InteropEmu.SetChannelVolume(AudioChannel.EPSG_L, audioInfo.EnableEPSG ? AudioInfo.ConvertVolume(audioInfo.EPSGVolume_L) : 0);
|
InteropEmu.SetChannelVolume(AudioChannel.EPSM_L, audioInfo.EnableEPSM ? AudioInfo.ConvertVolume(audioInfo.EPSMVolume_L) : 0);
|
||||||
InteropEmu.SetChannelVolume(AudioChannel.EPSG_R, audioInfo.EnableEPSG ? AudioInfo.ConvertVolume(audioInfo.EPSGVolume_R) : 0);
|
InteropEmu.SetChannelVolume(AudioChannel.EPSM_R, audioInfo.EnableEPSM ? AudioInfo.ConvertVolume(audioInfo.EPSMVolume_R) : 0);
|
||||||
|
|
||||||
InteropEmu.SetChannelPanning(AudioChannel.Square1, ConvertPanning(audioInfo.Square1Panning));
|
InteropEmu.SetChannelPanning(AudioChannel.Square1, ConvertPanning(audioInfo.Square1Panning));
|
||||||
InteropEmu.SetChannelPanning(AudioChannel.Square2, ConvertPanning(audioInfo.Square2Panning));
|
InteropEmu.SetChannelPanning(AudioChannel.Square2, ConvertPanning(audioInfo.Square2Panning));
|
||||||
|
@ -137,10 +137,10 @@ namespace Mesen.GUI.Config
|
||||||
InteropEmu.SetChannelPanning(AudioChannel.VRC7, ConvertPanning(audioInfo.Vrc7Panning));
|
InteropEmu.SetChannelPanning(AudioChannel.VRC7, ConvertPanning(audioInfo.Vrc7Panning));
|
||||||
InteropEmu.SetChannelPanning(AudioChannel.Namco163, ConvertPanning(audioInfo.Namco163Panning));
|
InteropEmu.SetChannelPanning(AudioChannel.Namco163, ConvertPanning(audioInfo.Namco163Panning));
|
||||||
InteropEmu.SetChannelPanning(AudioChannel.Sunsoft5B, ConvertPanning(audioInfo.Sunsoft5bPanning));
|
InteropEmu.SetChannelPanning(AudioChannel.Sunsoft5B, ConvertPanning(audioInfo.Sunsoft5bPanning));
|
||||||
InteropEmu.SetChannelPanning(AudioChannel.EPSG_L, ConvertPanning(audioInfo.EPSGPanning_L));
|
InteropEmu.SetChannelPanning(AudioChannel.EPSM_L, ConvertPanning(audioInfo.EPSMPanning_L));
|
||||||
InteropEmu.SetChannelPanning(AudioChannel.EPSG_R, ConvertPanning(audioInfo.EPSGPanning_R));
|
InteropEmu.SetChannelPanning(AudioChannel.EPSM_R, ConvertPanning(audioInfo.EPSMPanning_R));
|
||||||
|
|
||||||
InteropEmu.SetEPSGClockFrequency(audioInfo.EPSGClockFrequency);
|
InteropEmu.SetEPSMClockFrequency(audioInfo.EPSMClockFrequency);
|
||||||
|
|
||||||
InteropEmu.SetEqualizerFilterType(audioInfo.EnableEqualizer ? audioInfo.EqualizerFilterType : EqualizerFilterType.None);
|
InteropEmu.SetEqualizerFilterType(audioInfo.EnableEqualizer ? audioInfo.EqualizerFilterType : EqualizerFilterType.None);
|
||||||
|
|
||||||
|
|
28
GUI.NET/Controls/ctrlNsfPlayer.Designer.cs
generated
28
GUI.NET/Controls/ctrlNsfPlayer.Designer.cs
generated
|
@ -46,7 +46,7 @@
|
||||||
this.lblSunsoft = new System.Windows.Forms.Label();
|
this.lblSunsoft = new System.Windows.Forms.Label();
|
||||||
this.lblVrc6 = new System.Windows.Forms.Label();
|
this.lblVrc6 = new System.Windows.Forms.Label();
|
||||||
this.lblVrc7 = new System.Windows.Forms.Label();
|
this.lblVrc7 = new System.Windows.Forms.Label();
|
||||||
this.lblEpsg = new System.Windows.Forms.Label();
|
this.lblEpsm = new System.Windows.Forms.Label();
|
||||||
this.lblSoundChips = new System.Windows.Forms.Label();
|
this.lblSoundChips = new System.Windows.Forms.Label();
|
||||||
this.trkVolume = new System.Windows.Forms.TrackBar();
|
this.trkVolume = new System.Windows.Forms.TrackBar();
|
||||||
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
||||||
|
@ -268,7 +268,7 @@
|
||||||
this.tableLayoutPanel3.Controls.Add(this.lblSunsoft, 3, 0);
|
this.tableLayoutPanel3.Controls.Add(this.lblSunsoft, 3, 0);
|
||||||
this.tableLayoutPanel3.Controls.Add(this.lblVrc6, 4, 0);
|
this.tableLayoutPanel3.Controls.Add(this.lblVrc6, 4, 0);
|
||||||
this.tableLayoutPanel3.Controls.Add(this.lblVrc7, 5, 0);
|
this.tableLayoutPanel3.Controls.Add(this.lblVrc7, 5, 0);
|
||||||
this.tableLayoutPanel3.Controls.Add(this.lblEpsg, 6, 0);
|
this.tableLayoutPanel3.Controls.Add(this.lblEpsm, 6, 0);
|
||||||
this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.tableLayoutPanel3.Location = new System.Drawing.Point(101, 66);
|
this.tableLayoutPanel3.Location = new System.Drawing.Point(101, 66);
|
||||||
this.tableLayoutPanel3.Name = "tableLayoutPanel3";
|
this.tableLayoutPanel3.Name = "tableLayoutPanel3";
|
||||||
|
@ -357,18 +357,18 @@
|
||||||
this.lblVrc7.TabIndex = 3;
|
this.lblVrc7.TabIndex = 3;
|
||||||
this.lblVrc7.Text = "VRC7";
|
this.lblVrc7.Text = "VRC7";
|
||||||
//
|
//
|
||||||
// lblEpsg
|
// lblEpsm
|
||||||
//
|
//
|
||||||
this.lblEpsg.AutoSize = true;
|
this.lblEpsm.AutoSize = true;
|
||||||
this.lblEpsg.BackColor = System.Drawing.Color.Transparent;
|
this.lblEpsm.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.lblEpsg.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.lblEpsm.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.lblEpsg.ForeColor = System.Drawing.Color.White;
|
this.lblEpsm.ForeColor = System.Drawing.Color.White;
|
||||||
this.lblEpsg.Location = new System.Drawing.Point(220, 0);
|
this.lblEpsm.Location = new System.Drawing.Point(220, 0);
|
||||||
this.lblEpsg.Margin = new System.Windows.Forms.Padding(0);
|
this.lblEpsm.Margin = new System.Windows.Forms.Padding(0);
|
||||||
this.lblEpsg.Name = "lblEpsg";
|
this.lblEpsm.Name = "lblEpsm";
|
||||||
this.lblEpsg.Size = new System.Drawing.Size(35, 13);
|
this.lblEpsm.Size = new System.Drawing.Size(35, 13);
|
||||||
this.lblEpsg.TabIndex = 3;
|
this.lblEpsm.TabIndex = 3;
|
||||||
this.lblEpsg.Text = "EPSG";
|
this.lblEpsm.Text = "EPSM";
|
||||||
//
|
//
|
||||||
// lblSoundChips
|
// lblSoundChips
|
||||||
//
|
//
|
||||||
|
@ -743,7 +743,7 @@
|
||||||
private System.Windows.Forms.Label lblSunsoft;
|
private System.Windows.Forms.Label lblSunsoft;
|
||||||
private System.Windows.Forms.Label lblVrc6;
|
private System.Windows.Forms.Label lblVrc6;
|
||||||
private System.Windows.Forms.Label lblVrc7;
|
private System.Windows.Forms.Label lblVrc7;
|
||||||
private System.Windows.Forms.Label lblEpsg;
|
private System.Windows.Forms.Label lblEpsm;
|
||||||
private System.Windows.Forms.Label lblMmc5;
|
private System.Windows.Forms.Label lblMmc5;
|
||||||
private System.Windows.Forms.Label lblNamco;
|
private System.Windows.Forms.Label lblNamco;
|
||||||
private System.Windows.Forms.Label lblFds;
|
private System.Windows.Forms.Label lblFds;
|
||||||
|
|
|
@ -274,7 +274,7 @@ namespace Mesen.GUI.Controls
|
||||||
lblMmc5.ForeColor = (header.SoundChips & 0x08) == 0x08 ? Color.White : Color.Gray;
|
lblMmc5.ForeColor = (header.SoundChips & 0x08) == 0x08 ? Color.White : Color.Gray;
|
||||||
lblNamco.ForeColor = (header.SoundChips & 0x10) == 0x10 ? Color.White : Color.Gray;
|
lblNamco.ForeColor = (header.SoundChips & 0x10) == 0x10 ? Color.White : Color.Gray;
|
||||||
lblSunsoft.ForeColor = (header.SoundChips & 0x20) == 0x20 ? Color.White : Color.Gray;
|
lblSunsoft.ForeColor = (header.SoundChips & 0x20) == 0x20 ? Color.White : Color.Gray;
|
||||||
lblEpsg.ForeColor = (header.SoundChips & 0x40) == 0x40 ? Color.White : Color.Gray;
|
lblEpsm.ForeColor = (header.SoundChips & 0x80) == 0x80 ? Color.White : Color.Gray;
|
||||||
|
|
||||||
if (InteropEmu.IsPaused()) {
|
if (InteropEmu.IsPaused()) {
|
||||||
btnPause.Image = Properties.Resources.Play;
|
btnPause.Image = Properties.Resources.Play;
|
||||||
|
|
30
GUI.NET/Debugger/frmApuViewer.Designer.cs
generated
30
GUI.NET/Debugger/frmApuViewer.Designer.cs
generated
|
@ -41,7 +41,7 @@
|
||||||
this.chkVrc7 = new System.Windows.Forms.CheckBox();
|
this.chkVrc7 = new System.Windows.Forms.CheckBox();
|
||||||
this.chkDmc = new System.Windows.Forms.CheckBox();
|
this.chkDmc = new System.Windows.Forms.CheckBox();
|
||||||
this.chkSunsoft = new System.Windows.Forms.CheckBox();
|
this.chkSunsoft = new System.Windows.Forms.CheckBox();
|
||||||
this.chkEPSG = new System.Windows.Forms.CheckBox();
|
this.chkEPSM = new System.Windows.Forms.CheckBox();
|
||||||
this.chkVrc6 = new System.Windows.Forms.CheckBox();
|
this.chkVrc6 = new System.Windows.Forms.CheckBox();
|
||||||
this.grpSquare1 = new System.Windows.Forms.GroupBox();
|
this.grpSquare1 = new System.Windows.Forms.GroupBox();
|
||||||
this.ctrlSquareInfo1 = new Mesen.GUI.Debugger.Controls.ctrlSquareInfo();
|
this.ctrlSquareInfo1 = new Mesen.GUI.Debugger.Controls.ctrlSquareInfo();
|
||||||
|
@ -119,7 +119,7 @@
|
||||||
this.tableLayoutPanel2.Controls.Add(this.chkVrc7, 2, 1);
|
this.tableLayoutPanel2.Controls.Add(this.chkVrc7, 2, 1);
|
||||||
this.tableLayoutPanel2.Controls.Add(this.chkDmc, 0, 4);
|
this.tableLayoutPanel2.Controls.Add(this.chkDmc, 0, 4);
|
||||||
this.tableLayoutPanel2.Controls.Add(this.chkSunsoft, 1, 3);
|
this.tableLayoutPanel2.Controls.Add(this.chkSunsoft, 1, 3);
|
||||||
this.tableLayoutPanel2.Controls.Add(this.chkEPSG, 1, 4);
|
this.tableLayoutPanel2.Controls.Add(this.chkEPSM, 1, 4);
|
||||||
this.tableLayoutPanel2.Controls.Add(this.chkVrc6, 2, 0);
|
this.tableLayoutPanel2.Controls.Add(this.chkVrc6, 2, 0);
|
||||||
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 16);
|
this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 16);
|
||||||
|
@ -273,19 +273,19 @@
|
||||||
this.chkSunsoft.UseVisualStyleBackColor = true;
|
this.chkSunsoft.UseVisualStyleBackColor = true;
|
||||||
this.chkSunsoft.CheckedChanged += new System.EventHandler(this.chkSoundChannel_CheckedChanged);
|
this.chkSunsoft.CheckedChanged += new System.EventHandler(this.chkSoundChannel_CheckedChanged);
|
||||||
//
|
//
|
||||||
// chkEPSG
|
// chkEPSM
|
||||||
//
|
//
|
||||||
this.chkEPSG.AutoSize = true;
|
this.chkEPSM.AutoSize = true;
|
||||||
this.chkEPSG.Checked = true;
|
this.chkEPSM.Checked = true;
|
||||||
this.chkEPSG.CheckState = System.Windows.Forms.CheckState.Checked;
|
this.chkEPSM.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||||
this.chkEPSG.Location = new System.Drawing.Point(99, 80);
|
this.chkEPSM.Location = new System.Drawing.Point(99, 80);
|
||||||
this.chkEPSG.Margin = new System.Windows.Forms.Padding(3, 0, 3, 3);
|
this.chkEPSM.Margin = new System.Windows.Forms.Padding(3, 0, 3, 3);
|
||||||
this.chkEPSG.Name = "chkEPSG";
|
this.chkEPSM.Name = "chkEPSM";
|
||||||
this.chkEPSG.Size = new System.Drawing.Size(78, 17);
|
this.chkEPSM.Size = new System.Drawing.Size(78, 17);
|
||||||
this.chkEPSG.TabIndex = 10;
|
this.chkEPSM.TabIndex = 10;
|
||||||
this.chkEPSG.Text = "EPSG";
|
this.chkEPSM.Text = "EPSM";
|
||||||
this.chkEPSG.UseVisualStyleBackColor = true;
|
this.chkEPSM.UseVisualStyleBackColor = true;
|
||||||
this.chkEPSG.CheckedChanged += new System.EventHandler(this.chkSoundChannel_CheckedChanged);
|
this.chkEPSM.CheckedChanged += new System.EventHandler(this.chkSoundChannel_CheckedChanged);
|
||||||
//
|
//
|
||||||
// chkVrc6
|
// chkVrc6
|
||||||
//
|
//
|
||||||
|
@ -475,6 +475,6 @@
|
||||||
private System.Windows.Forms.CheckBox chkVrc7;
|
private System.Windows.Forms.CheckBox chkVrc7;
|
||||||
private System.Windows.Forms.CheckBox chkVrc6;
|
private System.Windows.Forms.CheckBox chkVrc6;
|
||||||
private System.Windows.Forms.CheckBox chkSunsoft;
|
private System.Windows.Forms.CheckBox chkSunsoft;
|
||||||
private System.Windows.Forms.CheckBox chkEPSG;
|
private System.Windows.Forms.CheckBox chkEPSM;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -68,8 +68,8 @@ namespace Mesen.GUI.Debugger
|
||||||
InteropEmu.SetChannelVolume(AudioChannel.VRC7, chkVrc7.Checked ? 1 : 0);
|
InteropEmu.SetChannelVolume(AudioChannel.VRC7, chkVrc7.Checked ? 1 : 0);
|
||||||
InteropEmu.SetChannelVolume(AudioChannel.MMC5, chkMmc5.Checked ? 1 : 0);
|
InteropEmu.SetChannelVolume(AudioChannel.MMC5, chkMmc5.Checked ? 1 : 0);
|
||||||
InteropEmu.SetChannelVolume(AudioChannel.Sunsoft5B, chkSunsoft.Checked ? 1 : 0);
|
InteropEmu.SetChannelVolume(AudioChannel.Sunsoft5B, chkSunsoft.Checked ? 1 : 0);
|
||||||
InteropEmu.SetChannelVolume(AudioChannel.EPSG_L, chkEPSG.Checked ? AudioInfo.ConvertVolume(audioInfo.EPSGVolume_L) : 0);
|
InteropEmu.SetChannelVolume(AudioChannel.EPSM_L, chkEPSM.Checked ? AudioInfo.ConvertVolume(audioInfo.EPSMVolume_L) : 0);
|
||||||
InteropEmu.SetChannelVolume(AudioChannel.EPSG_R, chkEPSG.Checked ? AudioInfo.ConvertVolume(audioInfo.EPSGVolume_R) : 0);
|
InteropEmu.SetChannelVolume(AudioChannel.EPSM_R, chkEPSM.Checked ? AudioInfo.ConvertVolume(audioInfo.EPSMVolume_R) : 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
210
GUI.NET/Forms/Config/frmAudioConfig.Designer.cs
generated
210
GUI.NET/Forms/Config/frmAudioConfig.Designer.cs
generated
|
@ -43,12 +43,12 @@ namespace Mesen.GUI.Forms.Config
|
||||||
this.trkVrc7Vol = new Mesen.GUI.Controls.ctrlTrackbar();
|
this.trkVrc7Vol = new Mesen.GUI.Controls.ctrlTrackbar();
|
||||||
this.trkNamco163Vol = new Mesen.GUI.Controls.ctrlTrackbar();
|
this.trkNamco163Vol = new Mesen.GUI.Controls.ctrlTrackbar();
|
||||||
this.trkSunsoft5b = new Mesen.GUI.Controls.ctrlTrackbar();
|
this.trkSunsoft5b = new Mesen.GUI.Controls.ctrlTrackbar();
|
||||||
this.trkEPSGVol_L = new Mesen.GUI.Controls.ctrlTrackbar();
|
this.trkEPSMVol_L = new Mesen.GUI.Controls.ctrlTrackbar();
|
||||||
this.trkEPSGVol_R = new Mesen.GUI.Controls.ctrlTrackbar();
|
this.trkEPSMVol_R = new Mesen.GUI.Controls.ctrlTrackbar();
|
||||||
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.lblVolumeReductionSettings = new System.Windows.Forms.Label();
|
this.lblVolumeReductionSettings = new System.Windows.Forms.Label();
|
||||||
this.chkEnableAudio = new System.Windows.Forms.CheckBox();
|
this.chkEnableAudio = new System.Windows.Forms.CheckBox();
|
||||||
this.chkEnableEPSG = new System.Windows.Forms.CheckBox();
|
this.chkEnableEPSM = new System.Windows.Forms.CheckBox();
|
||||||
this.lblSampleRate = new System.Windows.Forms.Label();
|
this.lblSampleRate = new System.Windows.Forms.Label();
|
||||||
this.lblAudioLatency = new System.Windows.Forms.Label();
|
this.lblAudioLatency = new System.Windows.Forms.Label();
|
||||||
this.cboSampleRate = new System.Windows.Forms.ComboBox();
|
this.cboSampleRate = new System.Windows.Forms.ComboBox();
|
||||||
|
@ -81,8 +81,8 @@ namespace Mesen.GUI.Forms.Config
|
||||||
this.trkVrc7Pan = new Mesen.GUI.Controls.ctrlHorizontalTrackbar();
|
this.trkVrc7Pan = new Mesen.GUI.Controls.ctrlHorizontalTrackbar();
|
||||||
this.trkNamcoPan = new Mesen.GUI.Controls.ctrlHorizontalTrackbar();
|
this.trkNamcoPan = new Mesen.GUI.Controls.ctrlHorizontalTrackbar();
|
||||||
this.trkSunsoftPan = new Mesen.GUI.Controls.ctrlHorizontalTrackbar();
|
this.trkSunsoftPan = new Mesen.GUI.Controls.ctrlHorizontalTrackbar();
|
||||||
this.trkEPSGPan_L = new Mesen.GUI.Controls.ctrlHorizontalTrackbar();
|
this.trkEPSMPan_L = new Mesen.GUI.Controls.ctrlHorizontalTrackbar();
|
||||||
this.trkEPSGPan_R = new Mesen.GUI.Controls.ctrlHorizontalTrackbar();
|
this.trkEPSMPan_R = new Mesen.GUI.Controls.ctrlHorizontalTrackbar();
|
||||||
this.tpgEqualizer = new System.Windows.Forms.TabPage();
|
this.tpgEqualizer = new System.Windows.Forms.TabPage();
|
||||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||||
this.chkEnableEqualizer = new System.Windows.Forms.CheckBox();
|
this.chkEnableEqualizer = new System.Windows.Forms.CheckBox();
|
||||||
|
@ -147,8 +147,8 @@ namespace Mesen.GUI.Forms.Config
|
||||||
this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
|
this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.chkDisableDynamicSampleRate = new Mesen.GUI.Controls.ctrlRiskyOption();
|
this.chkDisableDynamicSampleRate = new Mesen.GUI.Controls.ctrlRiskyOption();
|
||||||
this.chkDisableNoiseModeFlag = new Mesen.GUI.Controls.ctrlRiskyOption();
|
this.chkDisableNoiseModeFlag = new Mesen.GUI.Controls.ctrlRiskyOption();
|
||||||
this.nudEPSGClockFrequency = new Mesen.GUI.Controls.MesenNumericUpDown();
|
this.nudEPSMClockFrequency = new Mesen.GUI.Controls.MesenNumericUpDown();
|
||||||
this.lblEPSGClockFrequency = new System.Windows.Forms.Label();
|
this.lblEPSMClockFrequency = new System.Windows.Forms.Label();
|
||||||
this.chkSilenceTriangleHighFreq = new System.Windows.Forms.CheckBox();
|
this.chkSilenceTriangleHighFreq = new System.Windows.Forms.CheckBox();
|
||||||
this.chkSwapDutyCycles = new Mesen.GUI.Controls.ctrlRiskyOption();
|
this.chkSwapDutyCycles = new Mesen.GUI.Controls.ctrlRiskyOption();
|
||||||
this.chkReduceDmcPopping = new System.Windows.Forms.CheckBox();
|
this.chkReduceDmcPopping = new System.Windows.Forms.CheckBox();
|
||||||
|
@ -223,8 +223,8 @@ namespace Mesen.GUI.Forms.Config
|
||||||
this.tableLayoutPanel1.Controls.Add(this.trkVrc7Vol, 3, 1);
|
this.tableLayoutPanel1.Controls.Add(this.trkVrc7Vol, 3, 1);
|
||||||
this.tableLayoutPanel1.Controls.Add(this.trkNamco163Vol, 4, 1);
|
this.tableLayoutPanel1.Controls.Add(this.trkNamco163Vol, 4, 1);
|
||||||
this.tableLayoutPanel1.Controls.Add(this.trkSunsoft5b, 6, 0);
|
this.tableLayoutPanel1.Controls.Add(this.trkSunsoft5b, 6, 0);
|
||||||
this.tableLayoutPanel1.Controls.Add(this.trkEPSGVol_L, 5, 1);
|
this.tableLayoutPanel1.Controls.Add(this.trkEPSMVol_L, 5, 1);
|
||||||
this.tableLayoutPanel1.Controls.Add(this.trkEPSGVol_R, 6, 1);
|
this.tableLayoutPanel1.Controls.Add(this.trkEPSMVol_R, 6, 1);
|
||||||
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(3, 16);
|
this.tableLayoutPanel1.Location = new System.Drawing.Point(3, 16);
|
||||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||||
|
@ -415,35 +415,35 @@ namespace Mesen.GUI.Forms.Config
|
||||||
this.trkSunsoft5b.Text = "Sunsoft";
|
this.trkSunsoft5b.Text = "Sunsoft";
|
||||||
this.trkSunsoft5b.Value = 50;
|
this.trkSunsoft5b.Value = 50;
|
||||||
//
|
//
|
||||||
// trkEPSGVol_L
|
// trkEPSMVol_L
|
||||||
//
|
//
|
||||||
this.trkEPSGVol_L.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
this.trkEPSMVol_L.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||||
this.trkEPSGVol_L.Location = new System.Drawing.Point(364, 160);
|
this.trkEPSMVol_L.Location = new System.Drawing.Point(364, 160);
|
||||||
this.trkEPSGVol_L.Margin = new System.Windows.Forms.Padding(0);
|
this.trkEPSMVol_L.Margin = new System.Windows.Forms.Padding(0);
|
||||||
this.trkEPSGVol_L.Maximum = 100;
|
this.trkEPSMVol_L.Maximum = 100;
|
||||||
this.trkEPSGVol_L.MaximumSize = new System.Drawing.Size(63, 160);
|
this.trkEPSMVol_L.MaximumSize = new System.Drawing.Size(63, 160);
|
||||||
this.trkEPSGVol_L.Minimum = 0;
|
this.trkEPSMVol_L.Minimum = 0;
|
||||||
this.trkEPSGVol_L.MinimumSize = new System.Drawing.Size(63, 160);
|
this.trkEPSMVol_L.MinimumSize = new System.Drawing.Size(63, 160);
|
||||||
this.trkEPSGVol_L.Name = "trkEPSGVol_L";
|
this.trkEPSMVol_L.Name = "trkEPSMVol_L";
|
||||||
this.trkEPSGVol_L.Size = new System.Drawing.Size(63, 160);
|
this.trkEPSMVol_L.Size = new System.Drawing.Size(63, 160);
|
||||||
this.trkEPSGVol_L.TabIndex = 22;
|
this.trkEPSMVol_L.TabIndex = 22;
|
||||||
this.trkEPSGVol_L.Text = "EPSG Left";
|
this.trkEPSMVol_L.Text = "EPSM Left";
|
||||||
this.trkEPSGVol_L.Value = 100;
|
this.trkEPSMVol_L.Value = 100;
|
||||||
//
|
//
|
||||||
// trkEPSGVol_R
|
// trkEPSMVol_R
|
||||||
//
|
//
|
||||||
this.trkEPSGVol_R.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
this.trkEPSMVol_R.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||||
this.trkEPSGVol_R.Location = new System.Drawing.Point(432, 160);
|
this.trkEPSMVol_R.Location = new System.Drawing.Point(432, 160);
|
||||||
this.trkEPSGVol_R.Margin = new System.Windows.Forms.Padding(0);
|
this.trkEPSMVol_R.Margin = new System.Windows.Forms.Padding(0);
|
||||||
this.trkEPSGVol_R.Maximum = 100;
|
this.trkEPSMVol_R.Maximum = 100;
|
||||||
this.trkEPSGVol_R.MaximumSize = new System.Drawing.Size(63, 160);
|
this.trkEPSMVol_R.MaximumSize = new System.Drawing.Size(63, 160);
|
||||||
this.trkEPSGVol_R.Minimum = 0;
|
this.trkEPSMVol_R.Minimum = 0;
|
||||||
this.trkEPSGVol_R.MinimumSize = new System.Drawing.Size(63, 160);
|
this.trkEPSMVol_R.MinimumSize = new System.Drawing.Size(63, 160);
|
||||||
this.trkEPSGVol_R.Name = "trkEPSGVol_R";
|
this.trkEPSMVol_R.Name = "trkEPSMVol_R";
|
||||||
this.trkEPSGVol_R.Size = new System.Drawing.Size(63, 160);
|
this.trkEPSMVol_R.Size = new System.Drawing.Size(63, 160);
|
||||||
this.trkEPSGVol_R.TabIndex = 22;
|
this.trkEPSMVol_R.TabIndex = 22;
|
||||||
this.trkEPSGVol_R.Text = "EPSG Right";
|
this.trkEPSMVol_R.Text = "EPSM Right";
|
||||||
this.trkEPSGVol_R.Value = 100;
|
this.trkEPSMVol_R.Value = 100;
|
||||||
//
|
//
|
||||||
// tableLayoutPanel2
|
// tableLayoutPanel2
|
||||||
//
|
//
|
||||||
|
@ -451,7 +451,7 @@ namespace Mesen.GUI.Forms.Config
|
||||||
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||||
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||||
this.tableLayoutPanel2.Controls.Add(this.chkEnableAudio, 0, 0);
|
this.tableLayoutPanel2.Controls.Add(this.chkEnableAudio, 0, 0);
|
||||||
this.tableLayoutPanel2.Controls.Add(this.chkEnableEPSG, 0, 0);
|
this.tableLayoutPanel2.Controls.Add(this.chkEnableEPSM, 0, 0);
|
||||||
this.tableLayoutPanel2.Controls.Add(this.lblSampleRate, 0, 2);
|
this.tableLayoutPanel2.Controls.Add(this.lblSampleRate, 0, 2);
|
||||||
this.tableLayoutPanel2.Controls.Add(this.lblAudioLatency, 0, 3);
|
this.tableLayoutPanel2.Controls.Add(this.lblAudioLatency, 0, 3);
|
||||||
this.tableLayoutPanel2.Controls.Add(this.cboSampleRate, 1, 2);
|
this.tableLayoutPanel2.Controls.Add(this.cboSampleRate, 1, 2);
|
||||||
|
@ -502,17 +502,17 @@ namespace Mesen.GUI.Forms.Config
|
||||||
this.chkEnableAudio.Text = "Enable Audio";
|
this.chkEnableAudio.Text = "Enable Audio";
|
||||||
this.chkEnableAudio.UseVisualStyleBackColor = true;
|
this.chkEnableAudio.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// chkEnableEPSG
|
// chkEnableEPSM
|
||||||
//
|
//
|
||||||
this.chkEnableEPSG.AutoSize = true;
|
this.chkEnableEPSM.AutoSize = true;
|
||||||
this.tableLayoutPanel2.SetColumnSpan(this.chkEnableEPSG, 2);
|
this.tableLayoutPanel2.SetColumnSpan(this.chkEnableEPSM, 2);
|
||||||
this.chkEnableEPSG.Location = new System.Drawing.Point(6, 6);
|
this.chkEnableEPSM.Location = new System.Drawing.Point(6, 6);
|
||||||
this.chkEnableEPSG.Margin = new System.Windows.Forms.Padding(6, 6, 6, 3);
|
this.chkEnableEPSM.Margin = new System.Windows.Forms.Padding(6, 6, 6, 3);
|
||||||
this.chkEnableEPSG.Name = "chkEnableEPSG";
|
this.chkEnableEPSM.Name = "chkEnableEPSM";
|
||||||
this.chkEnableEPSG.Size = new System.Drawing.Size(91, 17);
|
this.chkEnableEPSM.Size = new System.Drawing.Size(91, 17);
|
||||||
this.chkEnableEPSG.TabIndex = 3;
|
this.chkEnableEPSM.TabIndex = 3;
|
||||||
this.chkEnableEPSG.Text = "Enable EPSG";
|
this.chkEnableEPSM.Text = "Enable EPSM";
|
||||||
this.chkEnableEPSG.UseVisualStyleBackColor = true;
|
this.chkEnableEPSM.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// lblSampleRate
|
// lblSampleRate
|
||||||
//
|
//
|
||||||
|
@ -802,8 +802,8 @@ namespace Mesen.GUI.Forms.Config
|
||||||
this.tableLayoutPanel6.Controls.Add(this.trkVrc7Pan, 1, 3);
|
this.tableLayoutPanel6.Controls.Add(this.trkVrc7Pan, 1, 3);
|
||||||
this.tableLayoutPanel6.Controls.Add(this.trkNamcoPan, 1, 4);
|
this.tableLayoutPanel6.Controls.Add(this.trkNamcoPan, 1, 4);
|
||||||
this.tableLayoutPanel6.Controls.Add(this.trkSunsoftPan, 0, 6);
|
this.tableLayoutPanel6.Controls.Add(this.trkSunsoftPan, 0, 6);
|
||||||
this.tableLayoutPanel6.Controls.Add(this.trkEPSGPan_L, 0, 5);
|
this.tableLayoutPanel6.Controls.Add(this.trkEPSMPan_L, 0, 5);
|
||||||
this.tableLayoutPanel6.Controls.Add(this.trkEPSGPan_R, 1, 5);
|
this.tableLayoutPanel6.Controls.Add(this.trkEPSMPan_R, 1, 5);
|
||||||
this.tableLayoutPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.tableLayoutPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.tableLayoutPanel6.Location = new System.Drawing.Point(3, 3);
|
this.tableLayoutPanel6.Location = new System.Drawing.Point(3, 3);
|
||||||
this.tableLayoutPanel6.Name = "tableLayoutPanel6";
|
this.tableLayoutPanel6.Name = "tableLayoutPanel6";
|
||||||
|
@ -984,35 +984,35 @@ namespace Mesen.GUI.Forms.Config
|
||||||
this.trkSunsoftPan.Text = "Sunsoft";
|
this.trkSunsoftPan.Text = "Sunsoft";
|
||||||
this.trkSunsoftPan.Value = 0;
|
this.trkSunsoftPan.Value = 0;
|
||||||
//
|
//
|
||||||
// trkEPSGPan_L
|
// trkEPSMPan_L
|
||||||
//
|
//
|
||||||
this.trkEPSGPan_L.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
this.trkEPSMPan_L.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||||
this.trkEPSGPan_L.Location = new System.Drawing.Point(12, 275);
|
this.trkEPSMPan_L.Location = new System.Drawing.Point(12, 275);
|
||||||
this.trkEPSGPan_L.Margin = new System.Windows.Forms.Padding(0);
|
this.trkEPSMPan_L.Margin = new System.Windows.Forms.Padding(0);
|
||||||
this.trkEPSGPan_L.Maximum = 100;
|
this.trkEPSMPan_L.Maximum = 100;
|
||||||
this.trkEPSGPan_L.MaximumSize = new System.Drawing.Size(63, 160);
|
this.trkEPSMPan_L.MaximumSize = new System.Drawing.Size(63, 160);
|
||||||
this.trkEPSGPan_L.Minimum = -100;
|
this.trkEPSMPan_L.Minimum = -100;
|
||||||
this.trkEPSGPan_L.MinimumSize = new System.Drawing.Size(206, 55);
|
this.trkEPSMPan_L.MinimumSize = new System.Drawing.Size(206, 55);
|
||||||
this.trkEPSGPan_L.Name = "trkEPSGPan_L";
|
this.trkEPSMPan_L.Name = "trkEPSMPan_L";
|
||||||
this.trkEPSGPan_L.Size = new System.Drawing.Size(206, 55);
|
this.trkEPSMPan_L.Size = new System.Drawing.Size(206, 55);
|
||||||
this.trkEPSGPan_L.TabIndex = 22;
|
this.trkEPSMPan_L.TabIndex = 22;
|
||||||
this.trkEPSGPan_L.Text = "EPSG Left";
|
this.trkEPSMPan_L.Text = "EPSM Left";
|
||||||
this.trkEPSGPan_L.Value = -100;
|
this.trkEPSMPan_L.Value = -100;
|
||||||
//
|
//
|
||||||
// trkEPSGPan_R
|
// trkEPSMPan_R
|
||||||
//
|
//
|
||||||
this.trkEPSGPan_R.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
this.trkEPSMPan_R.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||||
this.trkEPSGPan_R.Location = new System.Drawing.Point(244, 275);
|
this.trkEPSMPan_R.Location = new System.Drawing.Point(244, 275);
|
||||||
this.trkEPSGPan_R.Margin = new System.Windows.Forms.Padding(0);
|
this.trkEPSMPan_R.Margin = new System.Windows.Forms.Padding(0);
|
||||||
this.trkEPSGPan_R.Maximum = 100;
|
this.trkEPSMPan_R.Maximum = 100;
|
||||||
this.trkEPSGPan_R.MaximumSize = new System.Drawing.Size(63, 160);
|
this.trkEPSMPan_R.MaximumSize = new System.Drawing.Size(63, 160);
|
||||||
this.trkEPSGPan_R.Minimum = -100;
|
this.trkEPSMPan_R.Minimum = -100;
|
||||||
this.trkEPSGPan_R.MinimumSize = new System.Drawing.Size(206, 55);
|
this.trkEPSMPan_R.MinimumSize = new System.Drawing.Size(206, 55);
|
||||||
this.trkEPSGPan_R.Name = "trkEPSGPan_R";
|
this.trkEPSMPan_R.Name = "trkEPSMPan_R";
|
||||||
this.trkEPSGPan_R.Size = new System.Drawing.Size(206, 55);
|
this.trkEPSMPan_R.Size = new System.Drawing.Size(206, 55);
|
||||||
this.trkEPSGPan_R.TabIndex = 22;
|
this.trkEPSMPan_R.TabIndex = 22;
|
||||||
this.trkEPSGPan_R.Text = "EPSG Right";
|
this.trkEPSMPan_R.Text = "EPSM Right";
|
||||||
this.trkEPSGPan_R.Value = 100;
|
this.trkEPSMPan_R.Value = 100;
|
||||||
//
|
//
|
||||||
// tpgEqualizer
|
// tpgEqualizer
|
||||||
//
|
//
|
||||||
|
@ -1988,8 +1988,8 @@ namespace Mesen.GUI.Forms.Config
|
||||||
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
||||||
this.tableLayoutPanel3.Controls.Add(this.chkDisableDynamicSampleRate, 0, 2);
|
this.tableLayoutPanel3.Controls.Add(this.chkDisableDynamicSampleRate, 0, 2);
|
||||||
this.tableLayoutPanel3.Controls.Add(this.chkDisableNoiseModeFlag, 0, 4);
|
this.tableLayoutPanel3.Controls.Add(this.chkDisableNoiseModeFlag, 0, 4);
|
||||||
this.tableLayoutPanel3.Controls.Add(this.nudEPSGClockFrequency, 0, 5);
|
this.tableLayoutPanel3.Controls.Add(this.nudEPSMClockFrequency, 0, 5);
|
||||||
this.tableLayoutPanel3.Controls.Add(this.lblEPSGClockFrequency, 0, 5);
|
this.tableLayoutPanel3.Controls.Add(this.lblEPSMClockFrequency, 0, 5);
|
||||||
this.tableLayoutPanel3.Controls.Add(this.chkSilenceTriangleHighFreq, 0, 0);
|
this.tableLayoutPanel3.Controls.Add(this.chkSilenceTriangleHighFreq, 0, 0);
|
||||||
this.tableLayoutPanel3.Controls.Add(this.chkSwapDutyCycles, 0, 3);
|
this.tableLayoutPanel3.Controls.Add(this.chkSwapDutyCycles, 0, 3);
|
||||||
this.tableLayoutPanel3.Controls.Add(this.chkReduceDmcPopping, 0, 1);
|
this.tableLayoutPanel3.Controls.Add(this.chkReduceDmcPopping, 0, 1);
|
||||||
|
@ -2027,47 +2027,47 @@ namespace Mesen.GUI.Forms.Config
|
||||||
this.chkDisableNoiseModeFlag.TabIndex = 3;
|
this.chkDisableNoiseModeFlag.TabIndex = 3;
|
||||||
this.chkDisableNoiseModeFlag.Text = "Disable noise channel mode flag";
|
this.chkDisableNoiseModeFlag.Text = "Disable noise channel mode flag";
|
||||||
//
|
//
|
||||||
// nudEPSGClockFrequency
|
// nudEPSMClockFrequency
|
||||||
//
|
//
|
||||||
this.nudEPSGClockFrequency.DecimalPlaces = 0;
|
this.nudEPSMClockFrequency.DecimalPlaces = 0;
|
||||||
this.nudEPSGClockFrequency.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.nudEPSMClockFrequency.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.nudEPSGClockFrequency.Increment = new decimal(new int[] {
|
this.nudEPSMClockFrequency.Increment = new decimal(new int[] {
|
||||||
100000,
|
100000,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0});
|
0});
|
||||||
this.nudEPSGClockFrequency.IsHex = false;
|
this.nudEPSMClockFrequency.IsHex = false;
|
||||||
this.nudEPSGClockFrequency.Location = new System.Drawing.Point(3, 147);
|
this.nudEPSMClockFrequency.Location = new System.Drawing.Point(3, 147);
|
||||||
this.nudEPSGClockFrequency.Maximum = new decimal(new int[] {
|
this.nudEPSMClockFrequency.Maximum = new decimal(new int[] {
|
||||||
32000000,
|
32000000,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0});
|
0});
|
||||||
this.nudEPSGClockFrequency.MaximumSize = new System.Drawing.Size(10000, 20);
|
this.nudEPSMClockFrequency.MaximumSize = new System.Drawing.Size(10000, 20);
|
||||||
this.nudEPSGClockFrequency.Minimum = new decimal(new int[] {
|
this.nudEPSMClockFrequency.Minimum = new decimal(new int[] {
|
||||||
10000,
|
10000,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0});
|
0});
|
||||||
this.nudEPSGClockFrequency.MinimumSize = new System.Drawing.Size(200, 21);
|
this.nudEPSMClockFrequency.MinimumSize = new System.Drawing.Size(200, 21);
|
||||||
this.nudEPSGClockFrequency.Name = "nudEPSGClockFrequency";
|
this.nudEPSMClockFrequency.Name = "nudEPSMClockFrequency";
|
||||||
this.nudEPSGClockFrequency.Size = new System.Drawing.Size(457, 21);
|
this.nudEPSMClockFrequency.Size = new System.Drawing.Size(457, 21);
|
||||||
this.nudEPSGClockFrequency.TabIndex = 3;
|
this.nudEPSMClockFrequency.TabIndex = 3;
|
||||||
this.nudEPSGClockFrequency.Value = new decimal(new int[] {
|
this.nudEPSMClockFrequency.Value = new decimal(new int[] {
|
||||||
10000,
|
10000,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0});
|
0});
|
||||||
//
|
//
|
||||||
// lblEPSGClockFrequency
|
// lblEPSMClockFrequency
|
||||||
//
|
//
|
||||||
this.lblEPSGClockFrequency.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
this.lblEPSMClockFrequency.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||||
this.lblEPSGClockFrequency.AutoSize = true;
|
this.lblEPSMClockFrequency.AutoSize = true;
|
||||||
this.lblEPSGClockFrequency.Location = new System.Drawing.Point(3, 125);
|
this.lblEPSMClockFrequency.Location = new System.Drawing.Point(3, 125);
|
||||||
this.lblEPSGClockFrequency.Name = "lblEPSGClockFrequency";
|
this.lblEPSMClockFrequency.Name = "lblEPSMClockFrequency";
|
||||||
this.lblEPSGClockFrequency.Size = new System.Drawing.Size(228, 13);
|
this.lblEPSMClockFrequency.Size = new System.Drawing.Size(228, 13);
|
||||||
this.lblEPSGClockFrequency.TabIndex = 3;
|
this.lblEPSMClockFrequency.TabIndex = 3;
|
||||||
this.lblEPSGClockFrequency.Text = "EPSG Clock Frequency (default is 3579545Hz)";
|
this.lblEPSMClockFrequency.Text = "EPSM Clock Frequency (default is 3579545Hz)";
|
||||||
//
|
//
|
||||||
// chkSilenceTriangleHighFreq
|
// chkSilenceTriangleHighFreq
|
||||||
//
|
//
|
||||||
|
@ -2166,7 +2166,7 @@ namespace Mesen.GUI.Forms.Config
|
||||||
private System.Windows.Forms.GroupBox grpVolume;
|
private System.Windows.Forms.GroupBox grpVolume;
|
||||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
||||||
private System.Windows.Forms.CheckBox chkEnableAudio;
|
private System.Windows.Forms.CheckBox chkEnableAudio;
|
||||||
private System.Windows.Forms.CheckBox chkEnableEPSG;
|
private System.Windows.Forms.CheckBox chkEnableEPSM;
|
||||||
private System.Windows.Forms.Label lblAudioLatency;
|
private System.Windows.Forms.Label lblAudioLatency;
|
||||||
private MesenNumericUpDown nudLatency;
|
private MesenNumericUpDown nudLatency;
|
||||||
private System.Windows.Forms.Label lblLatencyMs;
|
private System.Windows.Forms.Label lblLatencyMs;
|
||||||
|
@ -2188,8 +2188,8 @@ namespace Mesen.GUI.Forms.Config
|
||||||
private Controls.ctrlTrackbar trkVrc7Vol;
|
private Controls.ctrlTrackbar trkVrc7Vol;
|
||||||
private Controls.ctrlTrackbar trkNamco163Vol;
|
private Controls.ctrlTrackbar trkNamco163Vol;
|
||||||
private Controls.ctrlTrackbar trkSunsoft5b;
|
private Controls.ctrlTrackbar trkSunsoft5b;
|
||||||
private Controls.ctrlTrackbar trkEPSGVol_L;
|
private Controls.ctrlTrackbar trkEPSMVol_L;
|
||||||
private Controls.ctrlTrackbar trkEPSGVol_R;
|
private Controls.ctrlTrackbar trkEPSMVol_R;
|
||||||
private System.Windows.Forms.TabControl tabMain;
|
private System.Windows.Forms.TabControl tabMain;
|
||||||
private System.Windows.Forms.TabPage tpgGeneral;
|
private System.Windows.Forms.TabPage tpgGeneral;
|
||||||
private System.Windows.Forms.TabPage tpgVolume;
|
private System.Windows.Forms.TabPage tpgVolume;
|
||||||
|
@ -2230,8 +2230,8 @@ namespace Mesen.GUI.Forms.Config
|
||||||
private Controls.ctrlHorizontalTrackbar trkVrc7Pan;
|
private Controls.ctrlHorizontalTrackbar trkVrc7Pan;
|
||||||
private Controls.ctrlHorizontalTrackbar trkNamcoPan;
|
private Controls.ctrlHorizontalTrackbar trkNamcoPan;
|
||||||
private Controls.ctrlHorizontalTrackbar trkSunsoftPan;
|
private Controls.ctrlHorizontalTrackbar trkSunsoftPan;
|
||||||
private Controls.ctrlHorizontalTrackbar trkEPSGPan_L;
|
private Controls.ctrlHorizontalTrackbar trkEPSMPan_L;
|
||||||
private Controls.ctrlHorizontalTrackbar trkEPSGPan_R;
|
private Controls.ctrlHorizontalTrackbar trkEPSMPan_R;
|
||||||
private Controls.ctrlHorizontalTrackbar trkSquare1Pan;
|
private Controls.ctrlHorizontalTrackbar trkSquare1Pan;
|
||||||
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel5;
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel5;
|
||||||
private System.Windows.Forms.CheckBox chkCrossFeedEnabled;
|
private System.Windows.Forms.CheckBox chkCrossFeedEnabled;
|
||||||
|
@ -2239,8 +2239,8 @@ namespace Mesen.GUI.Forms.Config
|
||||||
private System.Windows.Forms.Label lblCrossFeedRatio;
|
private System.Windows.Forms.Label lblCrossFeedRatio;
|
||||||
private Controls.ctrlHorizontalTrackbar trkTrianglePan;
|
private Controls.ctrlHorizontalTrackbar trkTrianglePan;
|
||||||
private ctrlRiskyOption chkDisableNoiseModeFlag;
|
private ctrlRiskyOption chkDisableNoiseModeFlag;
|
||||||
private MesenNumericUpDown nudEPSGClockFrequency;
|
private MesenNumericUpDown nudEPSMClockFrequency;
|
||||||
private System.Windows.Forms.Label lblEPSGClockFrequency;
|
private System.Windows.Forms.Label lblEPSMClockFrequency;
|
||||||
private System.Windows.Forms.TabPage tpgEqualizer;
|
private System.Windows.Forms.TabPage tpgEqualizer;
|
||||||
private System.Windows.Forms.TableLayoutPanel tlpEqualizer;
|
private System.Windows.Forms.TableLayoutPanel tlpEqualizer;
|
||||||
private ctrlTrackbar trkBand6Gain;
|
private ctrlTrackbar trkBand6Gain;
|
||||||
|
|
|
@ -31,7 +31,7 @@ namespace Mesen.GUI.Forms.Config
|
||||||
cboAudioDevice.Items.AddRange(InteropEmu.GetAudioDevices().ToArray());
|
cboAudioDevice.Items.AddRange(InteropEmu.GetAudioDevices().ToArray());
|
||||||
|
|
||||||
AddBinding("EnableAudio", chkEnableAudio);
|
AddBinding("EnableAudio", chkEnableAudio);
|
||||||
AddBinding("EnableEPSG", chkEnableEPSG);
|
AddBinding("EnableEPSM", chkEnableEPSM);
|
||||||
AddBinding("MasterVolume", trkMaster);
|
AddBinding("MasterVolume", trkMaster);
|
||||||
AddBinding("Square1Volume", trkSquare1Vol);
|
AddBinding("Square1Volume", trkSquare1Vol);
|
||||||
AddBinding("Square2Volume", trkSquare2Vol);
|
AddBinding("Square2Volume", trkSquare2Vol);
|
||||||
|
@ -44,8 +44,8 @@ namespace Mesen.GUI.Forms.Config
|
||||||
AddBinding("Vrc7Volume", trkVrc7Vol);
|
AddBinding("Vrc7Volume", trkVrc7Vol);
|
||||||
AddBinding("Namco163Volume", trkNamco163Vol);
|
AddBinding("Namco163Volume", trkNamco163Vol);
|
||||||
AddBinding("Sunsoft5bVolume", trkSunsoft5b);
|
AddBinding("Sunsoft5bVolume", trkSunsoft5b);
|
||||||
AddBinding("EPSGVolume_L", trkEPSGVol_L);
|
AddBinding("EPSMVolume_L", trkEPSMVol_L);
|
||||||
AddBinding("EPSGVolume_R", trkEPSGVol_R);
|
AddBinding("EPSMVolume_R", trkEPSMVol_R);
|
||||||
|
|
||||||
AddBinding("Square1Panning", trkSquare1Pan);
|
AddBinding("Square1Panning", trkSquare1Pan);
|
||||||
AddBinding("Square2Panning", trkSquare2Pan);
|
AddBinding("Square2Panning", trkSquare2Pan);
|
||||||
|
@ -58,10 +58,10 @@ namespace Mesen.GUI.Forms.Config
|
||||||
AddBinding("Vrc7Panning", trkVrc7Pan);
|
AddBinding("Vrc7Panning", trkVrc7Pan);
|
||||||
AddBinding("Namco163Panning", trkNamcoPan);
|
AddBinding("Namco163Panning", trkNamcoPan);
|
||||||
AddBinding("Sunsoft5bPanning", trkSunsoftPan);
|
AddBinding("Sunsoft5bPanning", trkSunsoftPan);
|
||||||
AddBinding("EPSGPanning_L", trkEPSGPan_L);
|
AddBinding("EPSMPanning_L", trkEPSMPan_L);
|
||||||
AddBinding("EPSGPanning_R", trkEPSGPan_R);
|
AddBinding("EPSMPanning_R", trkEPSMPan_R);
|
||||||
|
|
||||||
AddBinding("EPSGClockFrequency", nudEPSGClockFrequency);
|
AddBinding("EPSMClockFrequency", nudEPSMClockFrequency);
|
||||||
|
|
||||||
AddBinding("AudioLatency", nudLatency);
|
AddBinding("AudioLatency", nudLatency);
|
||||||
AddBinding("SampleRate", cboSampleRate);
|
AddBinding("SampleRate", cboSampleRate);
|
||||||
|
|
105
GUI.NET/Forms/frmAbout.Designer.cs
generated
105
GUI.NET/Forms/frmAbout.Designer.cs
generated
|
@ -52,9 +52,12 @@
|
||||||
this.ctrlLinkLabel15 = new Mesen.GUI.Controls.ctrlLinkLabel();
|
this.ctrlLinkLabel15 = new Mesen.GUI.Controls.ctrlLinkLabel();
|
||||||
this.lblUsedSoftware = new System.Windows.Forms.Label();
|
this.lblUsedSoftware = new System.Windows.Forms.Label();
|
||||||
this.flowLayoutPanel7 = new System.Windows.Forms.FlowLayoutPanel();
|
this.flowLayoutPanel7 = new System.Windows.Forms.FlowLayoutPanel();
|
||||||
|
this.ctrlLinkLabel16 = new Mesen.GUI.Controls.ctrlLinkLabel();
|
||||||
this.ctrlLinkLabel8 = new Mesen.GUI.Controls.ctrlLinkLabel();
|
this.ctrlLinkLabel8 = new Mesen.GUI.Controls.ctrlLinkLabel();
|
||||||
this.ctrlLinkLabel14 = new Mesen.GUI.Controls.ctrlLinkLabel();
|
this.ctrlLinkLabel14 = new Mesen.GUI.Controls.ctrlLinkLabel();
|
||||||
this.ctrlLinkLabel16 = new Mesen.GUI.Controls.ctrlLinkLabel();
|
this.ctrlLinkLabel18 = new Mesen.GUI.Controls.ctrlLinkLabel();
|
||||||
|
this.ctrlLinkLabel19 = new Mesen.GUI.Controls.ctrlLinkLabel();
|
||||||
|
this.ctrlLinkLabel20 = new Mesen.GUI.Controls.ctrlLinkLabel();
|
||||||
this.lblCheats = new System.Windows.Forms.Label();
|
this.lblCheats = new System.Windows.Forms.Label();
|
||||||
this.lblCheatDatabase = new System.Windows.Forms.Label();
|
this.lblCheatDatabase = new System.Windows.Forms.Label();
|
||||||
this.lblSpecialThanks = new System.Windows.Forms.Label();
|
this.lblSpecialThanks = new System.Windows.Forms.Label();
|
||||||
|
@ -107,7 +110,7 @@
|
||||||
this.tableLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.tableLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.tableLayoutPanel.Location = new System.Drawing.Point(5, 5);
|
this.tableLayoutPanel.Location = new System.Drawing.Point(5, 5);
|
||||||
this.tableLayoutPanel.Name = "tableLayoutPanel";
|
this.tableLayoutPanel.Name = "tableLayoutPanel";
|
||||||
this.tableLayoutPanel.RowCount = 9;
|
this.tableLayoutPanel.RowCount = 8;
|
||||||
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||||
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||||
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||||
|
@ -116,8 +119,8 @@
|
||||||
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||||
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||||
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||||
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||||
this.tableLayoutPanel.Size = new System.Drawing.Size(337, 344);
|
this.tableLayoutPanel.Size = new System.Drawing.Size(337, 352);
|
||||||
this.tableLayoutPanel.TabIndex = 0;
|
this.tableLayoutPanel.TabIndex = 0;
|
||||||
//
|
//
|
||||||
// grpAcknowledgements
|
// grpAcknowledgements
|
||||||
|
@ -127,7 +130,7 @@
|
||||||
this.grpAcknowledgements.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.grpAcknowledgements.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.grpAcknowledgements.Location = new System.Drawing.Point(3, 91);
|
this.grpAcknowledgements.Location = new System.Drawing.Point(3, 91);
|
||||||
this.grpAcknowledgements.Name = "grpAcknowledgements";
|
this.grpAcknowledgements.Name = "grpAcknowledgements";
|
||||||
this.grpAcknowledgements.Size = new System.Drawing.Size(331, 189);
|
this.grpAcknowledgements.Size = new System.Drawing.Size(331, 199);
|
||||||
this.grpAcknowledgements.TabIndex = 34;
|
this.grpAcknowledgements.TabIndex = 34;
|
||||||
this.grpAcknowledgements.TabStop = false;
|
this.grpAcknowledgements.TabStop = false;
|
||||||
this.grpAcknowledgements.Text = "Acknowledgements";
|
this.grpAcknowledgements.Text = "Acknowledgements";
|
||||||
|
@ -148,20 +151,20 @@
|
||||||
this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel7, 1, 4);
|
this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel7, 1, 4);
|
||||||
this.tableLayoutPanel1.Controls.Add(this.lblCheats, 0, 5);
|
this.tableLayoutPanel1.Controls.Add(this.lblCheats, 0, 5);
|
||||||
this.tableLayoutPanel1.Controls.Add(this.lblCheatDatabase, 1, 5);
|
this.tableLayoutPanel1.Controls.Add(this.lblCheatDatabase, 1, 5);
|
||||||
this.tableLayoutPanel1.Controls.Add(this.lblSpecialThanks, 0, 6);
|
this.tableLayoutPanel1.Controls.Add(this.lblSpecialThanks, 1, 6);
|
||||||
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(3, 16);
|
this.tableLayoutPanel1.Location = new System.Drawing.Point(3, 16);
|
||||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||||
this.tableLayoutPanel1.RowCount = 8;
|
this.tableLayoutPanel1.RowCount = 7;
|
||||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||||
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F));
|
||||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
this.tableLayoutPanel1.Size = new System.Drawing.Size(325, 180);
|
||||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(325, 170);
|
|
||||||
this.tableLayoutPanel1.TabIndex = 0;
|
this.tableLayoutPanel1.TabIndex = 0;
|
||||||
//
|
//
|
||||||
// lblEmulation
|
// lblEmulation
|
||||||
|
@ -426,13 +429,29 @@
|
||||||
this.flowLayoutPanel7.Controls.Add(this.ctrlLinkLabel16);
|
this.flowLayoutPanel7.Controls.Add(this.ctrlLinkLabel16);
|
||||||
this.flowLayoutPanel7.Controls.Add(this.ctrlLinkLabel8);
|
this.flowLayoutPanel7.Controls.Add(this.ctrlLinkLabel8);
|
||||||
this.flowLayoutPanel7.Controls.Add(this.ctrlLinkLabel14);
|
this.flowLayoutPanel7.Controls.Add(this.ctrlLinkLabel14);
|
||||||
|
this.flowLayoutPanel7.Controls.Add(this.ctrlLinkLabel18);
|
||||||
|
this.flowLayoutPanel7.Controls.Add(this.ctrlLinkLabel19);
|
||||||
|
this.flowLayoutPanel7.Controls.Add(this.ctrlLinkLabel20);
|
||||||
this.flowLayoutPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.flowLayoutPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.flowLayoutPanel7.Location = new System.Drawing.Point(62, 85);
|
this.flowLayoutPanel7.Location = new System.Drawing.Point(62, 85);
|
||||||
this.flowLayoutPanel7.Margin = new System.Windows.Forms.Padding(0);
|
this.flowLayoutPanel7.Margin = new System.Windows.Forms.Padding(0);
|
||||||
this.flowLayoutPanel7.Name = "flowLayoutPanel7";
|
this.flowLayoutPanel7.Name = "flowLayoutPanel7";
|
||||||
this.flowLayoutPanel7.Size = new System.Drawing.Size(263, 31);
|
this.flowLayoutPanel7.Size = new System.Drawing.Size(263, 40);
|
||||||
this.flowLayoutPanel7.TabIndex = 9;
|
this.flowLayoutPanel7.TabIndex = 9;
|
||||||
//
|
//
|
||||||
|
// ctrlLinkLabel16
|
||||||
|
//
|
||||||
|
this.ctrlLinkLabel16.AutoSize = true;
|
||||||
|
this.ctrlLinkLabel16.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
|
this.ctrlLinkLabel16.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline);
|
||||||
|
this.ctrlLinkLabel16.ForeColor = System.Drawing.Color.Blue;
|
||||||
|
this.ctrlLinkLabel16.Link = "http://www.qmtpro.com/~nes/nintendulator/";
|
||||||
|
this.ctrlLinkLabel16.Location = new System.Drawing.Point(3, 0);
|
||||||
|
this.ctrlLinkLabel16.Name = "ctrlLinkLabel16";
|
||||||
|
this.ctrlLinkLabel16.Size = new System.Drawing.Size(104, 13);
|
||||||
|
this.ctrlLinkLabel16.TabIndex = 9;
|
||||||
|
this.ctrlLinkLabel16.Text = "NSF BIOS (Quietust)";
|
||||||
|
//
|
||||||
// ctrlLinkLabel8
|
// ctrlLinkLabel8
|
||||||
//
|
//
|
||||||
this.ctrlLinkLabel8.AutoSize = true;
|
this.ctrlLinkLabel8.AutoSize = true;
|
||||||
|
@ -457,24 +476,50 @@
|
||||||
this.ctrlLinkLabel14.TabIndex = 8;
|
this.ctrlLinkLabel14.TabIndex = 8;
|
||||||
this.ctrlLinkLabel14.Text = "VRC7 Audio (Mitsutaka Okazaki)";
|
this.ctrlLinkLabel14.Text = "VRC7 Audio (Mitsutaka Okazaki)";
|
||||||
//
|
//
|
||||||
// ctrlLinkLabel16
|
// ctrlLinkLabel18
|
||||||
//
|
//
|
||||||
this.ctrlLinkLabel16.AutoSize = true;
|
this.ctrlLinkLabel18.AutoSize = true;
|
||||||
this.ctrlLinkLabel16.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.ctrlLinkLabel18.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.ctrlLinkLabel16.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline);
|
this.ctrlLinkLabel18.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline);
|
||||||
this.ctrlLinkLabel16.ForeColor = System.Drawing.Color.Blue;
|
this.ctrlLinkLabel18.ForeColor = System.Drawing.Color.Blue;
|
||||||
this.ctrlLinkLabel16.Link = "http://www.qmtpro.com/~nes/nintendulator/";
|
this.ctrlLinkLabel18.Link = "https://github.com/nukeykt/Nuked-OPN2";
|
||||||
this.ctrlLinkLabel16.Location = new System.Drawing.Point(3, 0);
|
this.ctrlLinkLabel18.Location = new System.Drawing.Point(171, 13);
|
||||||
this.ctrlLinkLabel16.Name = "ctrlLinkLabel16";
|
this.ctrlLinkLabel18.Name = "ctrlLinkLabel18";
|
||||||
this.ctrlLinkLabel16.Size = new System.Drawing.Size(104, 13);
|
this.ctrlLinkLabel18.Size = new System.Drawing.Size(71, 13);
|
||||||
this.ctrlLinkLabel16.TabIndex = 9;
|
this.ctrlLinkLabel18.TabIndex = 8;
|
||||||
this.ctrlLinkLabel16.Text = "NSF BIOS (Quietust)";
|
this.ctrlLinkLabel18.Text = "Nuked-OPN2";
|
||||||
|
//
|
||||||
|
// ctrlLinkLabel19
|
||||||
|
//
|
||||||
|
this.ctrlLinkLabel19.AutoSize = true;
|
||||||
|
this.ctrlLinkLabel19.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
|
this.ctrlLinkLabel19.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline);
|
||||||
|
this.ctrlLinkLabel19.ForeColor = System.Drawing.Color.Blue;
|
||||||
|
this.ctrlLinkLabel19.Link = "https://github.com/nukeykt/Nuked-OPLL";
|
||||||
|
this.ctrlLinkLabel19.Location = new System.Drawing.Point(3, 26);
|
||||||
|
this.ctrlLinkLabel19.Name = "ctrlLinkLabel19";
|
||||||
|
this.ctrlLinkLabel19.Size = new System.Drawing.Size(69, 13);
|
||||||
|
this.ctrlLinkLabel19.TabIndex = 8;
|
||||||
|
this.ctrlLinkLabel19.Text = "Nuked-OPLL";
|
||||||
|
//
|
||||||
|
// ctrlLinkLabel20
|
||||||
|
//
|
||||||
|
this.ctrlLinkLabel20.AutoSize = true;
|
||||||
|
this.ctrlLinkLabel20.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
|
this.ctrlLinkLabel20.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline);
|
||||||
|
this.ctrlLinkLabel20.ForeColor = System.Drawing.Color.Blue;
|
||||||
|
this.ctrlLinkLabel20.Link = "https://github.com/digital-sound-antiques/emu2149";
|
||||||
|
this.ctrlLinkLabel20.Location = new System.Drawing.Point(78, 26);
|
||||||
|
this.ctrlLinkLabel20.Name = "ctrlLinkLabel20";
|
||||||
|
this.ctrlLinkLabel20.Size = new System.Drawing.Size(51, 13);
|
||||||
|
this.ctrlLinkLabel20.TabIndex = 8;
|
||||||
|
this.ctrlLinkLabel20.Text = "emu2149";
|
||||||
//
|
//
|
||||||
// lblCheats
|
// lblCheats
|
||||||
//
|
//
|
||||||
this.lblCheats.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
this.lblCheats.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||||
this.lblCheats.AutoSize = true;
|
this.lblCheats.AutoSize = true;
|
||||||
this.lblCheats.Location = new System.Drawing.Point(3, 116);
|
this.lblCheats.Location = new System.Drawing.Point(3, 125);
|
||||||
this.lblCheats.Name = "lblCheats";
|
this.lblCheats.Name = "lblCheats";
|
||||||
this.lblCheats.Size = new System.Drawing.Size(43, 13);
|
this.lblCheats.Size = new System.Drawing.Size(43, 13);
|
||||||
this.lblCheats.TabIndex = 10;
|
this.lblCheats.TabIndex = 10;
|
||||||
|
@ -484,7 +529,7 @@
|
||||||
//
|
//
|
||||||
this.lblCheatDatabase.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
this.lblCheatDatabase.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||||
this.lblCheatDatabase.AutoSize = true;
|
this.lblCheatDatabase.AutoSize = true;
|
||||||
this.lblCheatDatabase.Location = new System.Drawing.Point(65, 116);
|
this.lblCheatDatabase.Location = new System.Drawing.Point(65, 125);
|
||||||
this.lblCheatDatabase.Name = "lblCheatDatabase";
|
this.lblCheatDatabase.Name = "lblCheatDatabase";
|
||||||
this.lblCheatDatabase.Size = new System.Drawing.Size(142, 13);
|
this.lblCheatDatabase.Size = new System.Drawing.Size(142, 13);
|
||||||
this.lblCheatDatabase.TabIndex = 11;
|
this.lblCheatDatabase.TabIndex = 11;
|
||||||
|
@ -494,7 +539,7 @@
|
||||||
//
|
//
|
||||||
this.lblSpecialThanks.AutoSize = true;
|
this.lblSpecialThanks.AutoSize = true;
|
||||||
this.tableLayoutPanel1.SetColumnSpan(this.lblSpecialThanks, 2);
|
this.tableLayoutPanel1.SetColumnSpan(this.lblSpecialThanks, 2);
|
||||||
this.lblSpecialThanks.Location = new System.Drawing.Point(3, 139);
|
this.lblSpecialThanks.Location = new System.Drawing.Point(3, 148);
|
||||||
this.lblSpecialThanks.Margin = new System.Windows.Forms.Padding(3, 10, 3, 0);
|
this.lblSpecialThanks.Margin = new System.Windows.Forms.Padding(3, 10, 3, 0);
|
||||||
this.lblSpecialThanks.Name = "lblSpecialThanks";
|
this.lblSpecialThanks.Name = "lblSpecialThanks";
|
||||||
this.lblSpecialThanks.Size = new System.Drawing.Size(298, 26);
|
this.lblSpecialThanks.Size = new System.Drawing.Size(298, 26);
|
||||||
|
@ -611,7 +656,7 @@
|
||||||
//
|
//
|
||||||
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.okButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
this.okButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||||
this.okButton.Location = new System.Drawing.Point(259, 317);
|
this.okButton.Location = new System.Drawing.Point(259, 327);
|
||||||
this.okButton.Name = "okButton";
|
this.okButton.Name = "okButton";
|
||||||
this.okButton.Size = new System.Drawing.Size(75, 23);
|
this.okButton.Size = new System.Drawing.Size(75, 23);
|
||||||
this.okButton.TabIndex = 24;
|
this.okButton.TabIndex = 24;
|
||||||
|
@ -622,7 +667,7 @@
|
||||||
this.picDonate.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
this.picDonate.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||||
this.picDonate.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.picDonate.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.picDonate.Image = ((System.Drawing.Image)(resources.GetObject("picDonate.Image")));
|
this.picDonate.Image = ((System.Drawing.Image)(resources.GetObject("picDonate.Image")));
|
||||||
this.picDonate.Location = new System.Drawing.Point(3, 317);
|
this.picDonate.Location = new System.Drawing.Point(3, 327);
|
||||||
this.picDonate.Name = "picDonate";
|
this.picDonate.Name = "picDonate";
|
||||||
this.picDonate.Size = new System.Drawing.Size(78, 22);
|
this.picDonate.Size = new System.Drawing.Size(78, 22);
|
||||||
this.picDonate.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
this.picDonate.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||||
|
@ -634,7 +679,7 @@
|
||||||
//
|
//
|
||||||
this.lblDonate.AutoSize = true;
|
this.lblDonate.AutoSize = true;
|
||||||
this.tableLayoutPanel.SetColumnSpan(this.lblDonate, 2);
|
this.tableLayoutPanel.SetColumnSpan(this.lblDonate, 2);
|
||||||
this.lblDonate.Location = new System.Drawing.Point(0, 288);
|
this.lblDonate.Location = new System.Drawing.Point(0, 298);
|
||||||
this.lblDonate.Margin = new System.Windows.Forms.Padding(0, 5, 0, 0);
|
this.lblDonate.Margin = new System.Windows.Forms.Padding(0, 5, 0, 0);
|
||||||
this.lblDonate.Name = "lblDonate";
|
this.lblDonate.Name = "lblDonate";
|
||||||
this.lblDonate.Size = new System.Drawing.Size(271, 26);
|
this.lblDonate.Size = new System.Drawing.Size(271, 26);
|
||||||
|
@ -682,8 +727,9 @@
|
||||||
this.AutoSize = true;
|
this.AutoSize = true;
|
||||||
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||||
this.CancelButton = this.okButton;
|
this.CancelButton = this.okButton;
|
||||||
this.ClientSize = new System.Drawing.Size(347, 354);
|
this.ClientSize = new System.Drawing.Size(347, 362);
|
||||||
this.Controls.Add(this.tableLayoutPanel);
|
this.Controls.Add(this.tableLayoutPanel);
|
||||||
|
this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
||||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||||
this.MaximizeBox = false;
|
this.MaximizeBox = false;
|
||||||
this.MinimizeBox = false;
|
this.MinimizeBox = false;
|
||||||
|
@ -757,6 +803,9 @@
|
||||||
private Controls.ctrlLinkLabel ctrlLinkLabel12;
|
private Controls.ctrlLinkLabel ctrlLinkLabel12;
|
||||||
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel6;
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel6;
|
||||||
private Controls.ctrlLinkLabel ctrlLinkLabel13;
|
private Controls.ctrlLinkLabel ctrlLinkLabel13;
|
||||||
|
private Controls.ctrlLinkLabel ctrlLinkLabel18;
|
||||||
|
private Controls.ctrlLinkLabel ctrlLinkLabel19;
|
||||||
|
private Controls.ctrlLinkLabel ctrlLinkLabel20;
|
||||||
private System.Windows.Forms.Label lblUsedSoftware;
|
private System.Windows.Forms.Label lblUsedSoftware;
|
||||||
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel7;
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel7;
|
||||||
private Controls.ctrlLinkLabel ctrlLinkLabel8;
|
private Controls.ctrlLinkLabel ctrlLinkLabel8;
|
||||||
|
|
|
@ -208,7 +208,7 @@ namespace Mesen.GUI
|
||||||
[DllImport(DLLPath)] public static extern void SetBandGain(int band, double gain);
|
[DllImport(DLLPath)] public static extern void SetBandGain(int band, double gain);
|
||||||
[DllImport(DLLPath)] public static extern void SetSampleRate(UInt32 sampleRate);
|
[DllImport(DLLPath)] public static extern void SetSampleRate(UInt32 sampleRate);
|
||||||
[DllImport(DLLPath)] public static extern void SetAudioLatency(UInt32 msLatency);
|
[DllImport(DLLPath)] public static extern void SetAudioLatency(UInt32 msLatency);
|
||||||
[DllImport(DLLPath)] public static extern void SetEPSGClockFrequency(UInt32 clockFrequency);
|
[DllImport(DLLPath)] public static extern void SetEPSMClockFrequency(UInt32 clockFrequency);
|
||||||
[DllImport(DLLPath)] public static extern void SetAudioFilterSettings(AudioFilterSettings settings);
|
[DllImport(DLLPath)] public static extern void SetAudioFilterSettings(AudioFilterSettings settings);
|
||||||
[DllImport(DLLPath)] public static extern void SetRunAheadFrames(UInt32 frameCount);
|
[DllImport(DLLPath)] public static extern void SetRunAheadFrames(UInt32 frameCount);
|
||||||
|
|
||||||
|
@ -2302,8 +2302,8 @@ namespace Mesen.GUI
|
||||||
VRC7 = 8,
|
VRC7 = 8,
|
||||||
Namco163 = 9,
|
Namco163 = 9,
|
||||||
Sunsoft5B = 10,
|
Sunsoft5B = 10,
|
||||||
EPSG_L = 11,
|
EPSM_L = 11,
|
||||||
EPSG_R= 12
|
EPSM_R= 12
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum EqualizerFilterType
|
public enum EqualizerFilterType
|
||||||
|
|
|
@ -633,7 +633,7 @@ namespace InteropEmu {
|
||||||
DllExport void __stdcall SetMasterVolume(double volume, double volumeReduction, ConsoleId consoleId) { GetConsoleById(consoleId)->GetSettings()->SetMasterVolume(volume, volumeReduction); }
|
DllExport void __stdcall SetMasterVolume(double volume, double volumeReduction, ConsoleId consoleId) { GetConsoleById(consoleId)->GetSettings()->SetMasterVolume(volume, volumeReduction); }
|
||||||
DllExport void __stdcall SetSampleRate(uint32_t sampleRate) { _settings->SetSampleRate(sampleRate); }
|
DllExport void __stdcall SetSampleRate(uint32_t sampleRate) { _settings->SetSampleRate(sampleRate); }
|
||||||
DllExport void __stdcall SetAudioLatency(uint32_t msLatency) { _settings->SetAudioLatency(msLatency); }
|
DllExport void __stdcall SetAudioLatency(uint32_t msLatency) { _settings->SetAudioLatency(msLatency); }
|
||||||
DllExport void __stdcall SetEPSGClockFrequency(uint32_t clockFrequency) { _settings->SetEPSGClockFrequency(clockFrequency); }
|
DllExport void __stdcall SetEPSMClockFrequency(uint32_t clockFrequency) { _settings->SetEPSMClockFrequency(clockFrequency); }
|
||||||
DllExport void __stdcall SetAudioFilterSettings(AudioFilterSettings settings) { _settings->SetAudioFilterSettings(settings); }
|
DllExport void __stdcall SetAudioFilterSettings(AudioFilterSettings settings) { _settings->SetAudioFilterSettings(settings); }
|
||||||
DllExport void __stdcall SetRunAheadFrames(uint32_t frameCount) { _settings->SetRunAheadFrames(frameCount); }
|
DllExport void __stdcall SetRunAheadFrames(uint32_t frameCount) { _settings->SetRunAheadFrames(frameCount); }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue