diff options
author | 2016-10-22 13:13:17 +0200 | |
---|---|---|
committer | 2016-10-22 13:13:17 +0200 | |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/mame/machine/wpc_out.cpp | |
parent | 333bff8de64dfaeb98134000412796b4fdef970b (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/machine/wpc_out.cpp')
-rw-r--r-- | src/mame/machine/wpc_out.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/machine/wpc_out.cpp b/src/mame/machine/wpc_out.cpp index 7268eeeed09..67e02e1768e 100644 --- a/src/mame/machine/wpc_out.cpp +++ b/src/mame/machine/wpc_out.cpp @@ -6,7 +6,7 @@ const device_type WPC_OUT = &device_creator<wpc_out_device>; -wpc_out_device::wpc_out_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : +wpc_out_device::wpc_out_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, WPC_OUT, "Williams Pinball Controller Output Control", tag, owner, clock, "wpc_out", __FILE__) { names = nullptr; @@ -35,7 +35,7 @@ void wpc_out_device::gi_update() { attotime now = machine().time(); attotime delta = now - previous_gi_update; - UINT32 delta_us = delta.as_ticks(1e6); + uint32_t delta_us = delta.as_ticks(1e6); for(int i=0; i<gi_count; i++) if(gi & (1 <<i)) gi_time[i] += delta_us; @@ -64,7 +64,7 @@ void wpc_out_device::send_output(int sid, int state) WRITE8_MEMBER(wpc_out_device::out_w) { first_after_led = false; - UINT8 diff = state[offset] ^ data; + uint8_t diff = state[offset] ^ data; state[offset] = data; if(diff) for(int i=0; i<8; i++) |