summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/monty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/monty.cpp')
-rw-r--r--src/mame/drivers/monty.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/monty.cpp b/src/mame/drivers/monty.cpp
index 8275f40aeee..a2210d1e53e 100644
--- a/src/mame/drivers/monty.cpp
+++ b/src/mame/drivers/monty.cpp
@@ -54,7 +54,7 @@ public:
DECLARE_WRITE8_MEMBER(ioCommandWrite1_w);
// screen updates
- UINT32 lcd_update(screen_device& screen, bitmap_rgb32& bitmap, const rectangle& cliprect);
+ uint32_t lcd_update(screen_device& screen, bitmap_rgb32& bitmap, const rectangle& cliprect);
private:
required_device<cpu_device> m_maincpu;
@@ -63,8 +63,8 @@ private:
//required_device<sed1520_device> m_sed1; // TODO: Also, there are 2 SED1503Fs on the board - one is flipped upside down
// Test
- UINT8 m_writeUpper;
- UINT32 m_pixels[42*32];
+ uint8_t m_writeUpper;
+ uint32_t m_pixels[42*32];
bool m_sound_sw;
bool m_dirty;
};
@@ -187,8 +187,8 @@ WRITE8_MEMBER( monty_state::ioDisplayWrite_w )
// Offset directly corresponds to sed1503, DD RAM address (offset 0x7f may be special?)
//printf("(%04x) %02x %02x\n", m_maincpu->pc(), offset, data);
- UINT8 x = offset & 0x3f;
- UINT8 y = (BIT(offset, 6) + (m_writeUpper ? 2 : 0)) << 3;
+ uint8_t x = offset & 0x3f;
+ uint8_t y = (BIT(offset, 6) + (m_writeUpper ? 2 : 0)) << 3;
// Skip the controller and write straight to the LCD (pc=134f)
for (int i = 0; i < 8; i++)
@@ -202,12 +202,12 @@ WRITE8_MEMBER( monty_state::ioDisplayWrite_w )
}
-UINT32 monty_state::lcd_update(screen_device& screen, bitmap_rgb32& bitmap, const rectangle& cliprect)
+uint32_t monty_state::lcd_update(screen_device& screen, bitmap_rgb32& bitmap, const rectangle& cliprect)
{
if (!m_dirty)
return 1;
- UINT8 x,y,z;
+ uint8_t x,y,z;
m_dirty = false;
for (y = 0; y < 32; y++)
{