summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/5clown.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/5clown.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/5clown.cpp')
-rw-r--r--src/mame/drivers/5clown.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/mame/drivers/5clown.cpp b/src/mame/drivers/5clown.cpp
index ce8820f8c75..c4440d0e9f1 100644
--- a/src/mame/drivers/5clown.cpp
+++ b/src/mame/drivers/5clown.cpp
@@ -474,13 +474,13 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
- required_shared_ptr<UINT8> m_videoram;
- required_shared_ptr<UINT8> m_colorram;
+ required_shared_ptr<uint8_t> m_videoram;
+ required_shared_ptr<uint8_t> m_colorram;
- UINT8 m_main_latch_d800;
- UINT8 m_snd_latch_0800;
- UINT8 m_snd_latch_0a02;
- UINT8 m_ay8910_addr;
+ uint8_t m_main_latch_d800;
+ uint8_t m_snd_latch_0800;
+ uint8_t m_snd_latch_0a02;
+ uint8_t m_ay8910_addr;
tilemap_t *m_bg_tilemap;
int m_mux_data;
@@ -503,7 +503,7 @@ public:
virtual void machine_start() override;
virtual void video_start() override;
DECLARE_PALETTE_INIT(_5clown);
- UINT32 screen_update_fclown(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update_fclown(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
};
void _5clown_state::machine_start()
@@ -562,7 +562,7 @@ void _5clown_state::video_start()
}
-UINT32 _5clown_state::screen_update_fclown(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
+uint32_t _5clown_state::screen_update_fclown(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
m_bg_tilemap->draw(screen, bitmap, cliprect, 0, 0);
return 0;
@@ -570,7 +570,7 @@ UINT32 _5clown_state::screen_update_fclown(screen_device &screen, bitmap_ind16 &
PALETTE_INIT_MEMBER(_5clown_state, _5clown)
{
- const UINT8 *color_prom = memregion("proms")->base();
+ const uint8_t *color_prom = memregion("proms")->base();
/*
7654 3210
---- ---x RED component.
@@ -1171,7 +1171,7 @@ DRIVER_INIT_MEMBER(_5clown_state,fclown)
/* Decrypting main program */
int x;
- UINT8 *src = memregion( "maincpu" )->base();
+ uint8_t *src = memregion( "maincpu" )->base();
for (x = 0x0000; x < 0x10000; x++)
{
@@ -1181,8 +1181,8 @@ DRIVER_INIT_MEMBER(_5clown_state,fclown)
/* Decrypting GFX by segments */
- UINT8 *gfx1_src = memregion( "gfx1" )->base();
- UINT8 *gfx2_src = memregion( "gfx2" )->base();
+ uint8_t *gfx1_src = memregion( "gfx1" )->base();
+ uint8_t *gfx2_src = memregion( "gfx2" )->base();
for (x = 0x2000; x < 0x3000; x++)
{
@@ -1202,7 +1202,7 @@ DRIVER_INIT_MEMBER(_5clown_state,fclown)
/* Decrypting sound samples */
- UINT8 *samples_src = memregion( "oki6295" )->base();
+ uint8_t *samples_src = memregion( "oki6295" )->base();
for (x = 0x0000; x < 0x10000; x++)
{