diff options
author | 2016-10-22 13:13:17 +0200 | |
---|---|---|
committer | 2016-10-22 13:13:17 +0200 | |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/devices/machine/microtch.h | |
parent | 333bff8de64dfaeb98134000412796b4fdef970b (diff) |
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
Diffstat (limited to 'src/devices/machine/microtch.h')
-rw-r--r-- | src/devices/machine/microtch.h | 16 |
1 files changed, 8 insertions, 8 deletions
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<class _Object> static devcb_base &static_set_stx_callback(device_t &device, _Object object) { return downcast<microtouch_device &>(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; |