summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/quizo.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/quizo.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/quizo.cpp')
-rw-r--r--src/mame/drivers/quizo.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/quizo.cpp b/src/mame/drivers/quizo.cpp
index 6279c372cc2..bbac089f157 100644
--- a/src/mame/drivers/quizo.cpp
+++ b/src/mame/drivers/quizo.cpp
@@ -39,9 +39,9 @@ public:
required_device<cpu_device> m_maincpu;
- std::unique_ptr<UINT8[]> m_videoram;
- UINT8 m_port60;
- UINT8 m_port70;
+ std::unique_ptr<uint8_t[]> m_videoram;
+ uint8_t m_port60;
+ uint8_t m_port70;
DECLARE_WRITE8_MEMBER(vram_w);
DECLARE_WRITE8_MEMBER(port70_w);
@@ -50,7 +50,7 @@ public:
DECLARE_DRIVER_INIT(quizo);
DECLARE_PALETTE_INIT(quizo);
- 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);
};
@@ -58,11 +58,11 @@ public:
#define XTAL2 21477270
-static const UINT8 rombankLookup[]={ 2, 3, 4, 4, 4, 4, 4, 5, 0, 1};
+static const uint8_t rombankLookup[]={ 2, 3, 4, 4, 4, 4, 4, 5, 0, 1};
PALETTE_INIT_MEMBER(quizo_state, quizo)
{
- const UINT8 *color_prom = memregion("proms")->base();
+ const uint8_t *color_prom = memregion("proms")->base();
int i;
for (i = 0;i < 16;i++)
{
@@ -88,7 +88,7 @@ PALETTE_INIT_MEMBER(quizo_state, quizo)
}
}
-UINT32 quizo_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
+uint32_t quizo_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
int x,y;
for(y=0;y<200;y++)
@@ -268,7 +268,7 @@ ROM_END
DRIVER_INIT_MEMBER(quizo_state,quizo)
{
- m_videoram=std::make_unique<UINT8[]>(0x4000*2);
+ m_videoram=std::make_unique<uint8_t[]>(0x4000*2);
membank("bank1")->configure_entries(0, 6, memregion("user1")->base(), 0x4000);
save_pointer(NAME(m_videoram.get()), 0x4000*2);