summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/magic10.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/magic10.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/magic10.cpp')
-rw-r--r--src/mame/drivers/magic10.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/magic10.cpp b/src/mame/drivers/magic10.cpp
index 00d2957e6a7..08612642b5d 100644
--- a/src/mame/drivers/magic10.cpp
+++ b/src/mame/drivers/magic10.cpp
@@ -119,12 +119,12 @@ public:
tilemap_t *m_layer0_tilemap;
tilemap_t *m_layer1_tilemap;
tilemap_t *m_layer2_tilemap;
- required_shared_ptr<UINT16> m_layer0_videoram;
- required_shared_ptr<UINT16> m_layer1_videoram;
- required_shared_ptr<UINT16> m_layer2_videoram;
+ required_shared_ptr<uint16_t> m_layer0_videoram;
+ required_shared_ptr<uint16_t> m_layer1_videoram;
+ required_shared_ptr<uint16_t> m_layer2_videoram;
int m_layer2_offset[2];
- required_shared_ptr<UINT16> m_vregs;
- UINT16 m_magic102_ret;
+ required_shared_ptr<uint16_t> m_vregs;
+ uint16_t m_magic102_ret;
DECLARE_WRITE16_MEMBER(layer0_videoram_w);
DECLARE_WRITE16_MEMBER(layer1_videoram_w);
DECLARE_WRITE16_MEMBER(layer2_videoram_w);
@@ -142,7 +142,7 @@ public:
TILE_GET_INFO_MEMBER(get_layer1_tile_info);
TILE_GET_INFO_MEMBER(get_layer2_tile_info);
virtual void video_start() override;
- UINT32 screen_update_magic10(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update_magic10(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
@@ -205,7 +205,7 @@ void magic10_state::video_start()
m_layer2_tilemap->set_transparent_pen(0);
}
-UINT32 magic10_state::screen_update_magic10(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
+uint32_t magic10_state::screen_update_magic10(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
/*TODO: understand where this comes from. */
m_layer2_tilemap->set_scrollx(0, m_layer2_offset[0]);
@@ -1477,7 +1477,7 @@ DRIVER_INIT_MEMBER(magic10_state, altaten)
m_layer2_offset[1] = 16;
// patching the boot protection...
- UINT8 *rom = memregion("maincpu")->base();
+ uint8_t *rom = memregion("maincpu")->base();
rom[0x7668] = 0x71;
rom[0x7669] = 0x4e;