summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/spool99.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/spool99.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/spool99.cpp')
-rw-r--r--src/mame/drivers/spool99.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/drivers/spool99.cpp b/src/mame/drivers/spool99.cpp
index 392b32bc1ae..7418d0f7939 100644
--- a/src/mame/drivers/spool99.cpp
+++ b/src/mame/drivers/spool99.cpp
@@ -114,9 +114,9 @@ public:
required_device<okim6295_device> m_oki;
required_device<gfxdecode_device> m_gfxdecode;
- required_shared_ptr<UINT8> m_main;
- required_shared_ptr<UINT8> m_vram;
- required_shared_ptr<UINT8> m_cram;
+ required_shared_ptr<uint8_t> m_main;
+ required_shared_ptr<uint8_t> m_vram;
+ required_shared_ptr<uint8_t> m_cram;
tilemap_t *m_sc0_tilemap;
@@ -131,7 +131,7 @@ public:
DECLARE_DRIVER_INIT(spool99);
virtual void video_start() override;
- UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
TILE_GET_INFO_MEMBER(get_tile_info);
};
@@ -151,7 +151,7 @@ void spool99_state::video_start()
m_sc0_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(spool99_state::get_tile_info),this), TILEMAP_SCAN_ROWS, 8, 8, 64, 32);
}
-UINT32 spool99_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
+uint32_t spool99_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
m_sc0_tilemap->draw(screen, bitmap, cliprect, 0,0);
return 0;
@@ -173,7 +173,7 @@ WRITE8_MEMBER(spool99_state::cram_w)
READ8_MEMBER(spool99_state::spool99_io_r)
{
- UINT8 *ROM = memregion("maincpu")->base();
+ uint8_t *ROM = memregion("maincpu")->base();
// if(!(io_switch))
{
@@ -240,7 +240,7 @@ ADDRESS_MAP_END
READ8_MEMBER(spool99_state::vcarn_io_r)
{
- UINT8 *ROM = memregion("maincpu")->base();
+ uint8_t *ROM = memregion("maincpu")->base();
// if(!(io_switch))
{
@@ -453,8 +453,8 @@ ROM_END
DRIVER_INIT_MEMBER(spool99_state,spool99)
{
- UINT8 *ROM = memregion("maincpu")->base();
-// vram = std::make_unique<UINT8[]>(0x2000);
+ uint8_t *ROM = memregion("maincpu")->base();
+// vram = std::make_unique<uint8_t[]>(0x2000);
memcpy(m_main, ROM, 0x100);
}