diff options
author | 2016-10-22 13:13:17 +0200 | |
---|---|---|
committer | 2016-10-22 13:13:17 +0200 | |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/mame/drivers/tomcat.cpp | |
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/mame/drivers/tomcat.cpp')
-rw-r--r-- | src/mame/drivers/tomcat.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/tomcat.cpp b/src/mame/drivers/tomcat.cpp index 0470acf130b..76dd559079d 100644 --- a/src/mame/drivers/tomcat.cpp +++ b/src/mame/drivers/tomcat.cpp @@ -52,8 +52,8 @@ public: required_device<tms5220_device> m_tms; int m_control_num; - required_shared_ptr<UINT16> m_shared_ram; - UINT8 m_nvram[0x800]; + required_shared_ptr<uint16_t> m_shared_ram; + uint8_t m_nvram[0x800]; int m_dsp_BIO; int m_dsp_idle; DECLARE_WRITE16_MEMBER(tomcat_adcon_w); @@ -106,7 +106,7 @@ READ16_MEMBER(tomcat_state::tomcat_adcread_r) READ16_MEMBER(tomcat_state::tomcat_inputs_r) { - UINT16 result = 0; + uint16_t result = 0; if (ACCESSING_BITS_8_15) result |= ioport("IN0")->read() << 8; @@ -353,10 +353,10 @@ INPUT_PORTS_END void tomcat_state::machine_start() { - ((UINT16*)m_shared_ram)[0x0000] = 0xf600; - ((UINT16*)m_shared_ram)[0x0001] = 0x0000; - ((UINT16*)m_shared_ram)[0x0002] = 0xf600; - ((UINT16*)m_shared_ram)[0x0003] = 0x0000; + ((uint16_t*)m_shared_ram)[0x0000] = 0xf600; + ((uint16_t*)m_shared_ram)[0x0001] = 0x0000; + ((uint16_t*)m_shared_ram)[0x0002] = 0xf600; + ((uint16_t*)m_shared_ram)[0x0003] = 0x0000; machine().device<nvram_device>("nvram")->set_base(m_nvram, 0x800); |