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/tgtpanic.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/tgtpanic.cpp')
-rw-r--r-- | src/mame/drivers/tgtpanic.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/tgtpanic.cpp b/src/mame/drivers/tgtpanic.cpp index da033c37e05..9aeefbe5e37 100644 --- a/src/mame/drivers/tgtpanic.cpp +++ b/src/mame/drivers/tgtpanic.cpp @@ -27,15 +27,15 @@ public: required_device<cpu_device> m_maincpu; required_device<screen_device> m_screen; - required_shared_ptr<UINT8> m_ram; + required_shared_ptr<uint8_t> m_ram; - UINT8 m_color; + uint8_t m_color; DECLARE_WRITE8_MEMBER(color_w); virtual void machine_start() override; - UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); + uint32_t screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); }; @@ -50,11 +50,11 @@ void tgtpanic_state::machine_start() * *************************************/ -UINT32 tgtpanic_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) +uint32_t tgtpanic_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) { - UINT32 colors[4]; - UINT32 offs; - UINT32 x, y; + uint32_t colors[4]; + uint32_t offs; + uint32_t x, y; colors[0] = 0; colors[1] = 0xffffffff; @@ -63,7 +63,7 @@ UINT32 tgtpanic_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap for (offs = 0; offs < 0x2000; ++offs) { - UINT8 val = m_ram[offs]; + uint8_t val = m_ram[offs]; y = (offs & 0x7f) << 1; x = (offs >> 7) << 2; |