summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/scc2698b.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2022-06-16 12:47:52 +0200
committer Olivier Galibert <galibert@pobox.com>2025-04-29 23:06:41 +0200
commit45d4cd52a8194f2ef9e0383cfb2e2a35634af6ff (patch)
tree4e8d8fcb7382a5e9e0bce5ec59939bcfbe67155a /src/devices/machine/scc2698b.cpp
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/machine/scc2698b.cpp')
-rw-r--r--src/devices/machine/scc2698b.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/scc2698b.cpp b/src/devices/machine/scc2698b.cpp
index 892c37c24bf..19285500ecc 100644
--- a/src/devices/machine/scc2698b.cpp
+++ b/src/devices/machine/scc2698b.cpp
@@ -67,7 +67,7 @@ void scc2698b_device::map(address_map &map)
#define CHANH_TAG "chh"
-scc2698b_channel::scc2698b_channel(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
+scc2698b_channel::scc2698b_channel(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) :
device_t(mconfig, SCC2698B_CHANNEL, tag, owner, clock),
device_serial_interface(mconfig, *this)
{
@@ -352,7 +352,7 @@ void scc2698b_channel::mpi1_w(int state)
}
-scc2698b_device::scc2698b_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
+scc2698b_device::scc2698b_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) :
device_t(mconfig, SCC2698B, tag, owner, clock),
m_channel(*this, "channel_%u",1),
write_intr_A(*this),
@@ -746,5 +746,5 @@ attotime scc2698b_device::generate_baudrate(int block, int tx, int table_index)
void scc2698b_device::device_add_mconfig(machine_config &config)
{
for (required_device<scc2698b_channel> &channel : m_channel)
- SCC2698B_CHANNEL(config, channel, 0);
+ SCC2698B_CHANNEL(config, channel);
}