summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/corona.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/corona.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/corona.cpp')
-rw-r--r--src/mame/drivers/corona.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/mame/drivers/corona.cpp b/src/mame/drivers/corona.cpp
index 1fa42e97bfd..ca0818f2ee4 100644
--- a/src/mame/drivers/corona.cpp
+++ b/src/mame/drivers/corona.cpp
@@ -328,13 +328,13 @@ public:
m_screen(*this, "screen"),
m_soundlatch(*this, "soundlatch") { }
- UINT8 m_blitter_x_reg;
- UINT8 m_blitter_y_reg;
- UINT8 m_blitter_aux_reg;
- UINT8 m_blitter_unk_reg;
- std::unique_ptr<UINT8[]> m_videobuf;
- UINT8 m_lamp;
- UINT8 m_lamp_old;
+ uint8_t m_blitter_x_reg;
+ uint8_t m_blitter_y_reg;
+ uint8_t m_blitter_aux_reg;
+ uint8_t m_blitter_unk_reg;
+ std::unique_ptr<uint8_t[]> m_videobuf;
+ uint8_t m_lamp;
+ uint8_t m_lamp_old;
int m_input_selector;
DECLARE_WRITE8_MEMBER(blitter_y_w);
DECLARE_WRITE8_MEMBER(blitter_unk_w);
@@ -351,8 +351,8 @@ public:
void blitter_execute(int x, int y, int color, int width, int flag);
virtual void video_start() override;
DECLARE_PALETTE_INIT(corona);
- UINT32 screen_update_winner(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- UINT32 screen_update_luckyrlt(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update_winner(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update_luckyrlt(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
required_device<cpu_device> m_maincpu;
required_device<cpu_device> m_soundcpu;
required_device<screen_device> m_screen;
@@ -366,7 +366,7 @@ public:
PALETTE_INIT_MEMBER(corona_state, corona)
{
- const UINT8 *color_prom = memregion("proms")->base();
+ const uint8_t *color_prom = memregion("proms")->base();
int bit6, bit7, bit0, bit1, r, g, b;
int i;
@@ -465,10 +465,10 @@ WRITE8_MEMBER(corona_state::blitter_trig_wdht_w)
void corona_state::video_start()
{
- m_videobuf = make_unique_clear<UINT8[]>(VIDEOBUF_SIZE);
+ m_videobuf = make_unique_clear<uint8_t[]>(VIDEOBUF_SIZE);
}
-UINT32 corona_state::screen_update_winner(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
+uint32_t corona_state::screen_update_winner(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
int x, y;
@@ -479,7 +479,7 @@ UINT32 corona_state::screen_update_winner(screen_device &screen, bitmap_ind16 &b
return 0;
}
-UINT32 corona_state::screen_update_luckyrlt(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
+uint32_t corona_state::screen_update_luckyrlt(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
int x, y;