summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/cpu/sh/sh7042.cpp5
-rw-r--r--src/devices/cpu/sh/sh7042.h4
2 files changed, 1 insertions, 8 deletions
diff --git a/src/devices/cpu/sh/sh7042.cpp b/src/devices/cpu/sh/sh7042.cpp
index 922655510db..e257cedb2b9 100644
--- a/src/devices/cpu/sh/sh7042.cpp
+++ b/src/devices/cpu/sh/sh7042.cpp
@@ -356,11 +356,6 @@ void sh7042_device::device_add_mconfig(machine_config &config)
}
-void sh7042_device::do_sci_w(int sci, int state)
-{
- logerror("sci %d %d\n", sci, state);
-}
-
void sh7042_device::internal_update()
{
internal_update(current_cycles());
diff --git a/src/devices/cpu/sh/sh7042.h b/src/devices/cpu/sh/sh7042.h
index b409c08a8c7..6060380cc9c 100644
--- a/src/devices/cpu/sh/sh7042.h
+++ b/src/devices/cpu/sh/sh7042.h
@@ -24,7 +24,7 @@ public:
sh7042_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
template<int Port> auto read_adc() { return m_read_adc[Port].bind(); }
- template<int Sci> void sci_rx_w(int state) { do_sci_w(Sci, state); }
+ template<int Sci> void sci_rx_w(int state) { m_sci[Sci]->do_rx_w(state); }
template<int Sci> void sci_clk_w(int state) { m_sci[Sci]->do_clk_w(state); }
template<int Sci> auto write_sci_tx() { return m_sci_tx[Sci].bind(); }
template<int Sci> auto write_sci_clk() { return m_sci_clk[Sci].bind(); }
@@ -145,8 +145,6 @@ private:
TIMER_CALLBACK_MEMBER(event_timer_tick);
void internal_update(u64 current_time);
- void do_sci_w(int sci, int state);
-
u16 pcf_ah_r();
void pcf_ah_w(offs_t, u16 data, u16 mem_mask);
u32 pcf_al_r();