summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/sprint4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/sprint4.cpp')
-rw-r--r--src/mame/drivers/sprint4.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mame/drivers/sprint4.cpp b/src/mame/drivers/sprint4.cpp
index 5b250ae5c65..2000e13a6b4 100644
--- a/src/mame/drivers/sprint4.cpp
+++ b/src/mame/drivers/sprint4.cpp
@@ -62,19 +62,19 @@ TIMER_CALLBACK_MEMBER(sprint4_state::nmi_callback)
/* MAME updates controls only once per frame but the game checks them on every NMI */
- UINT8 wheel[4] =
+ uint8_t wheel[4] =
{
- static_cast<UINT8>(ioport("WHEEL1")->read()),
- static_cast<UINT8>(ioport("WHEEL2")->read()),
- static_cast<UINT8>(ioport("WHEEL3")->read()),
- static_cast<UINT8>(ioport("WHEEL4")->read())
+ static_cast<uint8_t>(ioport("WHEEL1")->read()),
+ static_cast<uint8_t>(ioport("WHEEL2")->read()),
+ static_cast<uint8_t>(ioport("WHEEL3")->read()),
+ static_cast<uint8_t>(ioport("WHEEL4")->read())
};
- UINT8 lever[4] =
+ uint8_t lever[4] =
{
- static_cast<UINT8>(ioport("LEVER1")->read()),
- static_cast<UINT8>(ioport("LEVER2")->read()),
- static_cast<UINT8>(ioport("LEVER3")->read()),
- static_cast<UINT8>(ioport("LEVER4")->read())
+ static_cast<uint8_t>(ioport("LEVER1")->read()),
+ static_cast<uint8_t>(ioport("LEVER2")->read()),
+ static_cast<uint8_t>(ioport("LEVER3")->read()),
+ static_cast<uint8_t>(ioport("LEVER4")->read())
};
int i;
@@ -140,7 +140,7 @@ void sprint4_state::machine_reset()
READ8_MEMBER(sprint4_state::sprint4_wram_r)
{
- UINT8 *videoram = m_videoram;
+ uint8_t *videoram = m_videoram;
return videoram[0x380 + offset];
}
@@ -167,7 +167,7 @@ READ8_MEMBER(sprint4_state::sprint4_options_r)
WRITE8_MEMBER(sprint4_state::sprint4_wram_w)
{
- UINT8 *videoram = m_videoram;
+ uint8_t *videoram = m_videoram;
videoram[0x380 + offset] = data;
}