summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/beathead.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/beathead.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/beathead.cpp')
-rw-r--r--src/mame/drivers/beathead.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/beathead.cpp b/src/mame/drivers/beathead.cpp
index dff737a925c..adb7b8f55d5 100644
--- a/src/mame/drivers/beathead.cpp
+++ b/src/mame/drivers/beathead.cpp
@@ -437,7 +437,7 @@ ROM_END
READ32_MEMBER( beathead_state::speedup_r )
{
- UINT32 result = *m_speedup_data;
+ uint32_t result = *m_speedup_data;
if ((space.device().safe_pcbase() & 0xfffff) == 0x006f0 && result == space.device().state().state_int(ASAP_R3))
space.device().execute().spin_until_interrupt();
return result;
@@ -450,8 +450,8 @@ READ32_MEMBER( beathead_state::movie_speedup_r )
if ((space.device().safe_pcbase() & 0xfffff) == 0x00a88 && (space.device().state().state_int(ASAP_R28) & 0xfffff) == 0x397c0 &&
m_movie_speedup_data[4] == space.device().state().state_int(ASAP_R1))
{
- UINT32 temp = (INT16)result + m_movie_speedup_data[4] * 262;
- if (temp - (UINT32)space.device().state().state_int(ASAP_R15) < (UINT32)space.device().state().state_int(ASAP_R23))
+ uint32_t temp = (int16_t)result + m_movie_speedup_data[4] * 262;
+ if (temp - (uint32_t)space.device().state().state_int(ASAP_R15) < (uint32_t)space.device().state().state_int(ASAP_R23))
space.device().execute().spin_until_interrupt();
}
return result;