From 79246ab9172f61178139b4b7974debba8fb7c5f8 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Tue, 22 Jul 2014 06:21:54 +0000 Subject: More cleanups, there is issue with srcclean that needs to be taken care as well, just doing now what we can --- src/emu/machine/z80sti.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/emu/machine/z80sti.h') diff --git a/src/emu/machine/z80sti.h b/src/emu/machine/z80sti.h index 2d156706c69..4065bf6bdcb 100644 --- a/src/emu/machine/z80sti.h +++ b/src/emu/machine/z80sti.h @@ -94,7 +94,7 @@ public: template static devcb_base &set_out_tbo_callback(device_t &device, _Object object) { return downcast(device).m_out_tbo_cb.set_callback(object); } template static devcb_base &set_out_tco_callback(device_t &device, _Object object) { return downcast(device).m_out_tco_cb.set_callback(object); } template static devcb_base &set_out_tdo_callback(device_t &device, _Object object) { return downcast(device).m_out_tdo_cb.set_callback(object); } - + static void set_rx_clock(device_t &device, int clock) { downcast(device).m_rx_clock = clock; } static void set_tx_clock(device_t &device, int clock) { downcast(device).m_tx_clock = clock; } @@ -201,15 +201,15 @@ private: void gpip_input(int bit, int state); // device callbacks - devcb_write_line m_out_int_cb; // this gets called on each change of the _INT pin (pin 17) - devcb_read8 m_in_gpio_cb; // this is called on each read of the GPIO pins - devcb_write8 m_out_gpio_cb; // this is called on each write of the GPIO pins - devcb_write_line m_out_so_cb; // this gets called for each change of the SO pin (pin 37) - devcb_write_line m_out_tao_cb; // this gets called for each change of the TAO pin (pin 1) - devcb_write_line m_out_tbo_cb; // this gets called for each change of the TBO pin (pin 2) - devcb_write_line m_out_tco_cb; // this gets called for each change of the TCO pin (pin 3) - devcb_write_line m_out_tdo_cb; // this gets called for each change of the TDO pin (pin 4) - + devcb_write_line m_out_int_cb; // this gets called on each change of the _INT pin (pin 17) + devcb_read8 m_in_gpio_cb; // this is called on each read of the GPIO pins + devcb_write8 m_out_gpio_cb; // this is called on each write of the GPIO pins + devcb_write_line m_out_so_cb; // this gets called for each change of the SO pin (pin 37) + devcb_write_line m_out_tao_cb; // this gets called for each change of the TAO pin (pin 1) + devcb_write_line m_out_tbo_cb; // this gets called for each change of the TBO pin (pin 2) + devcb_write_line m_out_tco_cb; // this gets called for each change of the TCO pin (pin 3) + devcb_write_line m_out_tdo_cb; // this gets called for each change of the TDO pin (pin 4) + int m_rx_clock; // serial receive clock int m_tx_clock; // serial transmit clock -- cgit v1.2.3-70-g09d2