summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/lazercmd.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/lazercmd.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/lazercmd.cpp')
-rw-r--r--src/mame/drivers/lazercmd.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/lazercmd.cpp b/src/mame/drivers/lazercmd.cpp
index df7f7d26933..c7ddcea5c2f 100644
--- a/src/mame/drivers/lazercmd.cpp
+++ b/src/mame/drivers/lazercmd.cpp
@@ -289,7 +289,7 @@ WRITE8_MEMBER(lazercmd_state::lazercmd_ctrl_port_w)
/* triggered by REDC,r opcode */
READ8_MEMBER(lazercmd_state::lazercmd_ctrl_port_r)
{
- UINT8 data = 0;
+ uint8_t data = 0;
return data;
}
@@ -301,7 +301,7 @@ WRITE8_MEMBER(lazercmd_state::lazercmd_data_port_w)
/* triggered by REDD,r opcode */
READ8_MEMBER(lazercmd_state::lazercmd_data_port_r)
{
- UINT8 data = ioport("DSW")->read() & 0x0f;
+ uint8_t data = ioport("DSW")->read() & 0x0f;
return data;
}
@@ -369,7 +369,7 @@ WRITE8_MEMBER(lazercmd_state::bbonk_hardware_w)
READ8_MEMBER(lazercmd_state::lazercmd_hardware_r)
{
- UINT8 data = 0;
+ uint8_t data = 0;
switch (offset)
{
@@ -780,7 +780,7 @@ ROM_END
DRIVER_INIT_MEMBER(lazercmd_state,lazercmd)
{
int i, y;
- UINT8 *gfx = memregion("gfx1")->base();
+ uint8_t *gfx = memregion("gfx1")->base();
/******************************************************************
* To show the maze bit #6 and #7 of the video ram are used.
@@ -792,8 +792,8 @@ DRIVER_INIT_MEMBER(lazercmd_state,lazercmd)
******************************************************************/
for (i = 0; i < 0x40; i++)
{
- UINT8 *d = &gfx[0 * 64 * 10 + i * VERT_CHR];
- UINT8 *s = &gfx[4 * 64 * 10 + i * VERT_FNT];
+ uint8_t *d = &gfx[0 * 64 * 10 + i * VERT_CHR];
+ uint8_t *s = &gfx[4 * 64 * 10 + i * VERT_FNT];
for (y = 0; y < VERT_CHR; y++)
{