summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/superwng.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/superwng.cpp')
-rw-r--r--src/mame/drivers/superwng.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mame/drivers/superwng.cpp b/src/mame/drivers/superwng.cpp
index ff98d582a50..5445aab4b28 100644
--- a/src/mame/drivers/superwng.cpp
+++ b/src/mame/drivers/superwng.cpp
@@ -55,16 +55,16 @@ public:
required_device<cpu_device> m_maincpu;
required_device<cpu_device> m_audiocpu;
- required_shared_ptr<UINT8> m_videoram_bg;
- required_shared_ptr<UINT8> m_videoram_fg;
- required_shared_ptr<UINT8> m_colorram_bg;
- required_shared_ptr<UINT8> m_colorram_fg;
+ required_shared_ptr<uint8_t> m_videoram_bg;
+ required_shared_ptr<uint8_t> m_videoram_fg;
+ required_shared_ptr<uint8_t> m_colorram_bg;
+ required_shared_ptr<uint8_t> m_colorram_fg;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
- UINT8 m_tile_bank;
- UINT8 m_sound_byte;
- UINT8 m_nmi_enable;
+ uint8_t m_tile_bank;
+ uint8_t m_sound_byte;
+ uint8_t m_nmi_enable;
tilemap_t * m_bg_tilemap;
tilemap_t * m_fg_tilemap;
@@ -91,7 +91,7 @@ public:
virtual void machine_reset() override;
virtual void video_start() override;
DECLARE_PALETTE_INIT(superwng);
- UINT32 screen_update_superwng(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update_superwng(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
INTERRUPT_GEN_MEMBER(superwng_nmi_interrupt);
INTERRUPT_GEN_MEMBER(superwng_sound_nmi_assert);
};
@@ -143,7 +143,7 @@ void superwng_state::video_start()
m_bg_tilemap->set_scrollx(0, 64);
}
-UINT32 superwng_state::screen_update_superwng(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
+uint32_t superwng_state::screen_update_superwng(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
m_bg_tilemap->draw(screen, bitmap, cliprect, 0, 0);
rectangle tmp = cliprect;
@@ -192,7 +192,7 @@ UINT32 superwng_state::screen_update_superwng(screen_device &screen, bitmap_ind1
}
-static const UINT8 superwng_colors[]= /* temporary */
+static const uint8_t superwng_colors[]= /* temporary */
{
0x00, 0xc4, 0xff, 0x87, 0x00, 0xb0, 0xff, 0x2f, 0x00, 0x07, 0xff, 0xe0, 0x00, 0x86, 0xff, 0xc6,
0x00, 0x07, 0x3f, 0xff, 0x00, 0xb0, 0x38, 0x27, 0x00, 0x20, 0xff, 0x27, 0x00, 0xa4, 0xff, 0x87,
@@ -203,7 +203,7 @@ static const UINT8 superwng_colors[]= /* temporary */
PALETTE_INIT_MEMBER(superwng_state, superwng)
{
int i;
- const UINT8 * ptr=superwng_colors;
+ const uint8_t * ptr=superwng_colors;
for (i = 0; i < palette.entries(); i++)
{