diff options
author | 2022-06-16 12:47:52 +0200 | |
---|---|---|
committer | 2025-04-29 23:06:41 +0200 | |
commit | 45d4cd52a8194f2ef9e0383cfb2e2a35634af6ff (patch) | |
tree | 4e8d8fcb7382a5e9e0bce5ec59939bcfbe67155a /src/devices/machine/i8271.cpp | |
parent | 5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff) |
full xtal conversionxtal
Diffstat (limited to 'src/devices/machine/i8271.cpp')
-rw-r--r-- | src/devices/machine/i8271.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/i8271.cpp b/src/devices/machine/i8271.cpp index 48d734288f4..0ac06a8db9d 100644 --- a/src/devices/machine/i8271.cpp +++ b/src/devices/machine/i8271.cpp @@ -9,7 +9,7 @@ DEFINE_DEVICE_TYPE(I8271, i8271_device, "i8271", "Intel 8271 FDC") -i8271_device::i8271_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) +i8271_device::i8271_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : device_t(mconfig, I8271, tag, owner, clock), ready_connected(false), mode(0), main_phase(0), intrq_cb(*this), drq_cb(*this), @@ -171,9 +171,9 @@ uint8_t i8271_device::rr_r() return rr; } -void i8271_device::set_rate(int rate) +void i8271_device::set_rate(const XTAL &rate) { - cur_rate = rate; + cur_rate = rate.value(); } uint8_t i8271_device::read(offs_t offset) |