summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/alinvade.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/alinvade.cpp')
-rw-r--r--src/mame/drivers/alinvade.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/alinvade.cpp b/src/mame/drivers/alinvade.cpp
index 25f378ed388..9743e3d69b1 100644
--- a/src/mame/drivers/alinvade.cpp
+++ b/src/mame/drivers/alinvade.cpp
@@ -39,15 +39,15 @@ public:
DECLARE_WRITE8_MEMBER(sound_w);
DECLARE_WRITE8_MEMBER(sounden_w);
INTERRUPT_GEN_MEMBER(vblank_irq);
- UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
private:
- UINT8 m_irqmask;
- UINT8 m_irqff;
+ uint8_t m_irqmask;
+ uint8_t m_irqff;
virtual void machine_start() override;
virtual void machine_reset() override;
required_device<cpu_device> m_maincpu;
- required_shared_ptr<UINT8> m_videoram;
+ required_shared_ptr<uint8_t> m_videoram;
required_device<discrete_device> m_discrete;
};
@@ -166,7 +166,7 @@ void alinvade_state::machine_reset()
m_irqmask = 1;
}
-UINT32 alinvade_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
+uint32_t alinvade_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
{
offs_t offs;
@@ -174,9 +174,9 @@ UINT32 alinvade_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap
{
int i;
- UINT8 x = (offs << 3)&0x7f;
+ uint8_t x = (offs << 3)&0x7f;
int y = (offs >> 4)&0x7f;
- UINT8 data = m_videoram[offs];
+ uint8_t data = m_videoram[offs];
for (i = 0; i < 8; i++)
{