summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/koftball.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
commitddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch)
treea70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/mame/drivers/koftball.cpp
parent333bff8de64dfaeb98134000412796b4fdef970b (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/koftball.cpp')
-rw-r--r--src/mame/drivers/koftball.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/koftball.cpp b/src/mame/drivers/koftball.cpp
index 92c976f9095..86196495c7d 100644
--- a/src/mame/drivers/koftball.cpp
+++ b/src/mame/drivers/koftball.cpp
@@ -50,14 +50,14 @@ public:
m_palette(*this, "palette") { }
required_device<cpu_device> m_maincpu;
- required_shared_ptr<UINT16> m_main_ram;
- required_shared_ptr<UINT16> m_bmc_1_videoram;
- required_shared_ptr<UINT16> m_bmc_2_videoram;
+ required_shared_ptr<uint16_t> m_main_ram;
+ required_shared_ptr<uint16_t> m_bmc_1_videoram;
+ required_shared_ptr<uint16_t> m_bmc_2_videoram;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
tilemap_t *m_tilemap_1;
tilemap_t *m_tilemap_2;
- UINT16 m_prot_data;
+ uint16_t m_prot_data;
DECLARE_READ16_MEMBER(random_number_r);
DECLARE_READ16_MEMBER(prot_r);
@@ -68,7 +68,7 @@ public:
TILE_GET_INFO_MEMBER(get_t1_tile_info);
TILE_GET_INFO_MEMBER(get_t2_tile_info);
virtual void video_start() override;
- UINT32 screen_update_koftball(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update_koftball(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
TIMER_DEVICE_CALLBACK_MEMBER(bmc_interrupt);
};
@@ -99,7 +99,7 @@ void koftball_state::video_start()
m_tilemap_1->set_transparent_pen(0);
}
-UINT32 koftball_state::screen_update_koftball(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
+uint32_t koftball_state::screen_update_koftball(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
m_tilemap_2->draw(screen, bitmap, cliprect, 0, 0);
m_tilemap_1->draw(screen, bitmap, cliprect, 0, 0);
@@ -274,7 +274,7 @@ ROM_END
#if NVRAM_HACK
-static const UINT16 nvram[]=
+static const uint16_t nvram[]=
{
0x0000,0x5555,0x0000,0x5555,0x0000,0x5555,0x0000,0x5555,
0x0000,0x5555,0x0000,0x0000,0x0000,0x0000,0x5555,0x5555,