summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/nes/konami.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/nes/konami.cpp')
-rw-r--r--src/devices/bus/nes/konami.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/devices/bus/nes/konami.cpp b/src/devices/bus/nes/konami.cpp
index e807b813091..fd6de204003 100644
--- a/src/devices/bus/nes/konami.cpp
+++ b/src/devices/bus/nes/konami.cpp
@@ -39,8 +39,6 @@
#define LOG_MMC(x) do { if (VERBOSE) logerror x; } while (0)
-#define N2A03_DEFAULTCLOCK (21477272.724 / 12)
-
//-------------------------------------------------
// constructor
//-------------------------------------------------
@@ -642,7 +640,9 @@ static MACHINE_CONFIG_FRAGMENT( vrc6 )
// additional sound hardware
MCFG_SPEAKER_STANDARD_MONO("addon")
- MCFG_SOUND_ADD("vrc6snd", VRC6, N2A03_DEFAULTCLOCK)
+ // TODO: this is not how VRC6 clock signaling works!
+ // The board uses the CLK pin in reality, not hardcoded NTSC values!
+ MCFG_SOUND_ADD("vrc6snd", VRC6, XTAL_21_4772MHz/12)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "addon", 0.5)
MACHINE_CONFIG_END
@@ -774,7 +774,9 @@ static MACHINE_CONFIG_FRAGMENT( vrc7 )
// additional sound hardware
MCFG_SPEAKER_STANDARD_MONO("addon")
- MCFG_SOUND_ADD("ym", YM2413, N2A03_DEFAULTCLOCK)
+ // TODO: this is not how VRC7 clock signaling works!
+ // The board uses the CLK pin in reality, not hardcoded NTSC values!
+ MCFG_SOUND_ADD("ym", YM2413, XTAL_21_4772MHz/12)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "addon", 0.5)
MACHINE_CONFIG_END