summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/by17.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 11:31:49 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 11:31:49 +0200
commit23ad94073f4c2f7131fa0c95b6202f2f9027db41 (patch)
tree4f4e1e27a22ace8fea49b63030d4462db7cb68a1 /src/mame/drivers/by17.cpp
parent255bf78b316a9dc9e4c53a65143000471a6927d3 (diff)
use standard types uintptr_t, char16_t and char32_t instead of FPTR, utf16_char, unicode_char (nw)
Diffstat (limited to 'src/mame/drivers/by17.cpp')
-rw-r--r--src/mame/drivers/by17.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/by17.cpp b/src/mame/drivers/by17.cpp
index f6ea6742774..128ea6eb3fb 100644
--- a/src/mame/drivers/by17.cpp
+++ b/src/mame/drivers/by17.cpp
@@ -431,8 +431,8 @@ INPUT_PORTS_END
CUSTOM_INPUT_MEMBER( by17_state::outhole_x0 )
{
- int bit_shift = ((FPTR)param & 0x07);
- int port = (((FPTR)param >> 4) & 0x07);
+ int bit_shift = ((uintptr_t)param & 0x07);
+ int port = (((uintptr_t)param >> 4) & 0x07);
/* Here we simulate the ball sitting in the Outhole so the Outhole Solenoid can release it */
@@ -444,8 +444,8 @@ CUSTOM_INPUT_MEMBER( by17_state::outhole_x0 )
CUSTOM_INPUT_MEMBER( by17_state::saucer_x3 )
{
- int bit_shift = ((FPTR)param & 0x07);
- int port = (((FPTR)param >> 4) & 0x07);
+ int bit_shift = ((uintptr_t)param & 0x07);
+ int port = (((uintptr_t)param >> 4) & 0x07);
/* Here we simulate the ball sitting in a Saucer so the Saucer Solenoid can release it */
@@ -460,8 +460,8 @@ CUSTOM_INPUT_MEMBER( by17_state::drop_target_x2 )
{
/* Here we simulate fallen Drop Targets so the Drop Target Reset Solenoids can release the switches */
- int bit_shift = ((FPTR)param & 0x07);
- int port = (((FPTR)param >> 4) & 0x07);
+ int bit_shift = ((uintptr_t)param & 0x07);
+ int port = (((uintptr_t)param >> 4) & 0x07);
switch (bit_shift)
{