summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/skeleton/cortex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/skeleton/cortex.cpp')
-rw-r--r--src/mame/skeleton/cortex.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/skeleton/cortex.cpp b/src/mame/skeleton/cortex.cpp
index 2308cdddce1..53bc1c24662 100644
--- a/src/mame/skeleton/cortex.cpp
+++ b/src/mame/skeleton/cortex.cpp
@@ -223,7 +223,7 @@ void cortex_state::cortex(machine_config &config)
crtc.set_vram_size(0x4000);
SCREEN(config, "screen", SCREEN_TYPE_RASTER);
- generic_keyboard_device &keyboard(GENERIC_KEYBOARD(config, "keyboard", 0));
+ generic_keyboard_device &keyboard(GENERIC_KEYBOARD(config, "keyboard"));
keyboard.set_keyboard_callback(FUNC(cortex_state::kbd_put));
//TMS9902(config, "uart1", XTAL(12'000'000) / 4);
@@ -231,7 +231,7 @@ void cortex_state::cortex(machine_config &config)
/* Sound */
SPEAKER(config, "mono").front_center();
- BEEP(config, m_beep, 950); // guess
+ BEEP(config, m_beep, XTAL::u(950)); // guess
m_beep->add_route(ALL_OUTPUTS, "mono", 0.05);
}