From ddb290d5f615019c33c42b8d94e5a5254cabcf33 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 22 Oct 2016 13:13:17 +0200 Subject: NOTICE (TYPE NAME CONSOLIDATION) Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8 --- src/devices/machine/microtch.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/devices/machine/microtch.h') diff --git a/src/devices/machine/microtch.h b/src/devices/machine/microtch.h index 4ee60abede7..070fb65d7e0 100644 --- a/src/devices/machine/microtch.h +++ b/src/devices/machine/microtch.h @@ -11,7 +11,7 @@ class microtouch_device : public device_serial_interface { public: - microtouch_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + microtouch_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); template static devcb_base &static_set_stx_callback(device_t &device, _Object object) { return downcast(device).m_out_stx_func.set_callback(object); } virtual ioport_constructor device_input_ports() const override; @@ -27,8 +27,8 @@ protected: virtual void tra_complete() override; virtual void rcv_complete() override; private: - int check_command( const char* commandtocheck, int command_len, UINT8* command_data ); - void send_format_table_packet(UINT8 flag, int x, int y); + int check_command( const char* commandtocheck, int command_len, uint8_t* command_data ); + void send_format_table_packet(uint8_t flag, int x, int y); void send_format_decimal_packet(int x, int y); void send_touch_packet(); @@ -44,11 +44,11 @@ private: MODE_STREAM, MODE_POINT }; - UINT8 m_rx_buffer[16]; + uint8_t m_rx_buffer[16]; int m_rx_buffer_ptr; - UINT8 m_tx_buffer[16]; - UINT8 m_tx_buffer_num; - UINT8 m_tx_buffer_ptr; + uint8_t m_tx_buffer[16]; + uint8_t m_tx_buffer_num; + uint8_t m_tx_buffer_ptr; int m_reset_done; int m_format; int m_mode; @@ -62,7 +62,7 @@ private: required_ioport m_touchy; emu_timer* m_timer; bool m_output_valid; - UINT8 m_output; + uint8_t m_output; }; extern const device_type MICROTOUCH; -- cgit v1.2.3-70-g09d2