summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cm1800.cpp
diff options
context:
space:
mode:
author Robbbert <Robbbert@users.noreply.github.com>2020-05-28 04:32:25 +1000
committer Robbbert <Robbbert@users.noreply.github.com>2020-05-28 04:32:25 +1000
commitaafd1b7225c7806a36af513b25e4251b29bc5a63 (patch)
treedbab5ba5ef1d3b14ece04d756e41fb84fb7ae9c3 /src/mame/drivers/cm1800.cpp
parent02c0a7f4f37287818f86be5df6095cae09e37f60 (diff)
(nw) small cleanups in my drivers
Diffstat (limited to 'src/mame/drivers/cm1800.cpp')
-rw-r--r--src/mame/drivers/cm1800.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/cm1800.cpp b/src/mame/drivers/cm1800.cpp
index 98c6c71bd30..413980e72be 100644
--- a/src/mame/drivers/cm1800.cpp
+++ b/src/mame/drivers/cm1800.cpp
@@ -49,18 +49,18 @@ public:
, m_uart(*this, "uart")
{ }
- uint8_t uart_status_r();
-
void cm1800(machine_config &config);
+
+private:
void io_map(address_map &map);
void mem_map(address_map &map);
-private:
virtual void machine_reset() override;
+ u8 uart_status_r();
required_device<cpu_device> m_maincpu;
required_device<ay31015_device> m_uart;
};
-uint8_t cm1800_state::uart_status_r()
+u8 cm1800_state::uart_status_r()
{
return (m_uart->dav_r()) | (m_uart->tbmt_r() << 2);
}