summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/clcd.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/clcd.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/clcd.cpp')
-rw-r--r--src/mame/drivers/clcd.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mame/drivers/clcd.cpp b/src/mame/drivers/clcd.cpp
index fb8c18775b8..391bb56dc8d 100644
--- a/src/mame/drivers/clcd.cpp
+++ b/src/mame/drivers/clcd.cpp
@@ -106,7 +106,7 @@ public:
palette.set_pen_color(1, rgb_t(2,4,2));
}
- 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)
{
if (m_lcd_mode & LCD_MODE_GRAPH)
{
@@ -116,7 +116,7 @@ public:
for (int x = 0; x < 60; x++)
{
- UINT8 bit = m_ram->pointer()[offset++];
+ uint8_t bit = m_ram->pointer()[offset++];
bitmap.pix16(y, (x * 8) + 0) = (bit >> 7) & 1;
bitmap.pix16(y, (x * 8) + 1) = (bit >> 6) & 1;
@@ -131,7 +131,7 @@ public:
}
else
{
- UINT8 *font = m_lcd_char_rom->base();
+ uint8_t *font = m_lcd_char_rom->base();
if (m_lcd_mode & LCD_MODE_ALT)
{
font += 1024;
@@ -145,8 +145,8 @@ public:
for (int x = 0; x < 480; x++)
{
- UINT8 ch = m_ram->pointer()[offset + (x / chrw)];
- UINT8 bit = font[((ch & 0x7f) * chrw) + (x % chrw)];
+ uint8_t ch = m_ram->pointer()[offset + (x / chrw)];
+ uint8_t bit = font[((ch & 0x7f) * chrw) + (x % chrw)];
if (ch & 0x80)
{
bit = ~bit;
@@ -577,15 +577,15 @@ private:
int m_irq_acia;
int m_mmu_mode;
int m_mmu_saved_mode;
- UINT8 m_mmu_offset1;
- UINT8 m_mmu_offset2;
- UINT8 m_mmu_offset3;
- UINT8 m_mmu_offset4;
- UINT8 m_mmu_offset5;
+ uint8_t m_mmu_offset1;
+ uint8_t m_mmu_offset2;
+ uint8_t m_mmu_offset3;
+ uint8_t m_mmu_offset4;
+ uint8_t m_mmu_offset5;
int m_key_clk;
int m_key_poll;
int m_key_column;
- UINT16 m_key_shift;
+ uint16_t m_key_shift;
int m_key_force_format;
required_ioport m_col0;
required_ioport m_col1;