summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/bq48x2.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/bq48x2.cpp
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/machine/bq48x2.cpp')
-rw-r--r--src/devices/machine/bq48x2.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/bq48x2.cpp b/src/devices/machine/bq48x2.cpp
index 849f019ce6c..a8b8b8f2c45 100644
--- a/src/devices/machine/bq48x2.cpp
+++ b/src/devices/machine/bq48x2.cpp
@@ -60,7 +60,7 @@ enum
//-------------------------------------------------
bq48x2_device::bq48x2_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, int memsize)
- : device_t(mconfig, type, tag, owner, 0),
+ : device_t(mconfig, type, tag, owner),
device_nvram_interface(mconfig, *this),
device_rtc_interface(mconfig, *this),
m_interrupt_cb(*this),
@@ -74,13 +74,13 @@ bq48x2_device::bq48x2_device(const machine_config &mconfig, device_type type, co
//-------------------------------------------------
// 128 KiB memory (including clock registers)
-bq4842_device::bq4842_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
+bq4842_device::bq4842_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: bq48x2_device(mconfig, BQ4842, tag, owner, 128*1024)
{
}
// 512 KiB memory (including clock registers)
-bq4852_device::bq4852_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
+bq4852_device::bq4852_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: bq48x2_device(mconfig, BQ4852, tag, owner, 512*1024)
{
}