diff options
author | 2022-06-16 12:47:52 +0200 | |
---|---|---|
committer | 2025-04-29 23:06:41 +0200 | |
commit | 45d4cd52a8194f2ef9e0383cfb2e2a35634af6ff (patch) | |
tree | 4e8d8fcb7382a5e9e0bce5ec59939bcfbe67155a /src/mame/capcom/egghunt.cpp | |
parent | 5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff) |
full xtal conversionxtal
Diffstat (limited to 'src/mame/capcom/egghunt.cpp')
-rw-r--r-- | src/mame/capcom/egghunt.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/capcom/egghunt.cpp b/src/mame/capcom/egghunt.cpp index e2012e26fb1..3f6fec729df 100644 --- a/src/mame/capcom/egghunt.cpp +++ b/src/mame/capcom/egghunt.cpp @@ -432,12 +432,12 @@ void egghunt_state::machine_reset() void egghunt_state::egghunt(machine_config &config) { /* basic machine hardware */ - Z80(config, m_maincpu, 12000000/2); /* 6 MHz ?*/ + Z80(config, m_maincpu, XTAL::u(12000000)/2); /* 6 MHz ?*/ m_maincpu->set_addrmap(AS_PROGRAM, &egghunt_state::egghunt_map); m_maincpu->set_addrmap(AS_IO, &egghunt_state::io_map); m_maincpu->set_vblank_int("screen", FUNC(egghunt_state::irq0_line_hold)); // or 2 like mitchell.cpp? - Z80(config, m_audiocpu, 12000000/2); /* 6 MHz ?*/ + Z80(config, m_audiocpu, XTAL::u(12000000)/2); /* 6 MHz ?*/ m_audiocpu->set_addrmap(AS_PROGRAM, &egghunt_state::sound_map); @@ -459,7 +459,7 @@ void egghunt_state::egghunt(machine_config &config) GENERIC_LATCH_8(config, m_soundlatch); - OKIM6295(config, m_oki, 1056000, okim6295_device::PIN7_HIGH).add_route(ALL_OUTPUTS, "mono", 1.0); // clock frequency & pin 7 not verified + OKIM6295(config, m_oki, XTAL::u(1056000), okim6295_device::PIN7_HIGH).add_route(ALL_OUTPUTS, "mono", 1.0); // clock frequency & pin 7 not verified } ROM_START( egghunt ) |