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/nsc810.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/nsc810.h')
-rw-r--r-- | src/devices/machine/nsc810.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/devices/machine/nsc810.h b/src/devices/machine/nsc810.h index 036b197680d..aa17014eab5 100644 --- a/src/devices/machine/nsc810.h +++ b/src/devices/machine/nsc810.h @@ -15,7 +15,7 @@ class nsc810_device : public device_t { public: // construction/destruction - nsc810_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + nsc810_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); template<class _Object> static devcb_base &set_portA_read_callback(device_t &device, _Object object) { return downcast<nsc810_device &>(device).m_portA_r.set_callback(object); } template<class _Object> static devcb_base &set_portB_read_callback(device_t &device, _Object object) { return downcast<nsc810_device &>(device).m_portB_r.set_callback(object); } @@ -26,8 +26,8 @@ public: template<class _Object> static devcb_base &set_timer0_callback(device_t &device, _Object object) { return downcast<nsc810_device &>(device).m_timer0_out.set_callback(object); } template<class _Object> static devcb_base &set_timer1_callback(device_t &device, _Object object) { return downcast<nsc810_device &>(device).m_timer1_out.set_callback(object); } - void set_timer0_clock(UINT32 clk) { m_timer0_clock = clk; } - void set_timer1_clock(UINT32 clk) { m_timer1_clock = clk; } + void set_timer0_clock(uint32_t clk) { m_timer0_clock = clk; } + void set_timer1_clock(uint32_t clk) { m_timer1_clock = clk; } DECLARE_READ8_MEMBER(read); DECLARE_WRITE8_MEMBER(write); @@ -38,25 +38,25 @@ protected: virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override; private: - UINT8 m_portA_latch; - UINT8 m_portB_latch; - UINT8 m_portC_latch; - UINT8 m_ddrA; - UINT8 m_ddrB; - UINT8 m_ddrC; - UINT8 m_mode; + uint8_t m_portA_latch; + uint8_t m_portB_latch; + uint8_t m_portC_latch; + uint8_t m_ddrA; + uint8_t m_ddrB; + uint8_t m_ddrC; + uint8_t m_mode; emu_timer* m_timer0; emu_timer* m_timer1; - UINT8 m_timer0_mode; - UINT8 m_timer1_mode; - UINT16 m_timer0_counter; - UINT16 m_timer1_counter; - UINT16 m_timer0_base; - UINT16 m_timer1_base; + uint8_t m_timer0_mode; + uint8_t m_timer1_mode; + uint16_t m_timer0_counter; + uint16_t m_timer1_counter; + uint16_t m_timer0_base; + uint16_t m_timer1_base; bool m_timer0_running; bool m_timer1_running; - UINT32 m_timer0_clock; - UINT32 m_timer1_clock; + uint32_t m_timer0_clock; + uint32_t m_timer1_clock; bool m_ramselect; devcb_read8 m_portA_r; |