summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/gauntlet.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/gauntlet.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/gauntlet.cpp')
-rw-r--r--src/mame/drivers/gauntlet.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/gauntlet.cpp b/src/mame/drivers/gauntlet.cpp
index 87cf50209ee..620dc364379 100644
--- a/src/mame/drivers/gauntlet.cpp
+++ b/src/mame/drivers/gauntlet.cpp
@@ -1636,8 +1636,8 @@ ROM_END
void gauntlet_state::swap_memory(void *ptr1, void *ptr2, int bytes)
{
- UINT8 *p1 = (UINT8 *)ptr1;
- UINT8 *p2 = (UINT8 *)ptr2;
+ uint8_t *p1 = (uint8_t *)ptr1;
+ uint8_t *p2 = (uint8_t *)ptr2;
while (bytes--)
{
int temp = *p1;
@@ -1648,7 +1648,7 @@ void gauntlet_state::swap_memory(void *ptr1, void *ptr2, int bytes)
void gauntlet_state::common_init(int vindctr2)
{
- UINT8 *rom = memregion("maincpu")->base();
+ uint8_t *rom = memregion("maincpu")->base();
slapstic_configure(*m_maincpu, 0x038000, 0, memregion("maincpu")->base() + 0x38000);
/* swap the top and bottom halves of the main CPU ROM images */
@@ -1671,8 +1671,8 @@ DRIVER_INIT_MEMBER(gauntlet_state,gauntlet)
DRIVER_INIT_MEMBER(gauntlet_state,vindctr2)
{
- UINT8 *gfx2_base = memregion("gfx2")->base();
- std::vector<UINT8> data(0x8000);
+ uint8_t *gfx2_base = memregion("gfx2")->base();
+ std::vector<uint8_t> data(0x8000);
int i;
common_init(1);