summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/atarisy1.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/atarisy1.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/atarisy1.cpp')
-rw-r--r--src/mame/drivers/atarisy1.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/atarisy1.cpp b/src/mame/drivers/atarisy1.cpp
index e9b875c1b6d..d8f4e21e716 100644
--- a/src/mame/drivers/atarisy1.cpp
+++ b/src/mame/drivers/atarisy1.cpp
@@ -310,17 +310,17 @@ READ16_MEMBER(atarisy1_state::trakball_r)
/* when reading the even ports, do a real analog port update */
if (which == 0)
{
- UINT8 posx,posy;
+ uint8_t posx,posy;
if (player == 0)
{
- posx = (INT8)ioport("IN0")->read();
- posy = (INT8)ioport("IN1")->read();
+ posx = (int8_t)ioport("IN0")->read();
+ posy = (int8_t)ioport("IN1")->read();
}
else
{
- posx = (INT8)ioport("IN2")->read();
- posy = (INT8)ioport("IN3")->read();
+ posx = (int8_t)ioport("IN2")->read();
+ posy = (int8_t)ioport("IN3")->read();
}
m_cur[player][0] = posx + posy;