summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/misc/notechan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/misc/notechan.cpp')
-rw-r--r--src/mame/misc/notechan.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mame/misc/notechan.cpp b/src/mame/misc/notechan.cpp
index 099bed1cc41..936e7fa3b40 100644
--- a/src/mame/misc/notechan.cpp
+++ b/src/mame/misc/notechan.cpp
@@ -294,6 +294,8 @@
#include "notechan.lh"
+namespace {
+
#define MASTER_CLOCK XTAL(8'448'000)
#define CPU_CLOCK MASTER_CLOCK / 2 // guess... not verified
#define SND_CLOCK MASTER_CLOCK / 8 // guess... not verified
@@ -511,7 +513,7 @@ void notechan_state::notechan(machine_config &config)
Z80(config, m_maincpu, CPU_CLOCK); // unknown...
m_maincpu->set_addrmap(AS_PROGRAM, &notechan_state::notechan_map);
m_maincpu->set_addrmap(AS_IO, &notechan_state::notechan_port_map);
- m_maincpu->set_periodic_int(FUNC(driver_device::irq0_line_hold), attotime::from_hz(60));
+ m_maincpu->set_periodic_int(FUNC(notechan_state::irq0_line_hold), attotime::from_hz(60));
/* NO VIDEO */
@@ -534,6 +536,8 @@ ROM_START( notechan )
ROM_LOAD( "p-650_s1_ver1.00.ic21", 0x0000, 0x80000, CRC(1b8c835b) SHA1(73749c0077605f9ad56e9dd73b60ee04fe54eb73) )
ROM_END
+} // anonymous namespace
+
/*********************************************
* Game Drivers *