summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/driver.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-12-26 18:25:03 -0500
committer AJR <ajrhacker@users.noreply.github.com>2018-12-26 18:26:37 -0500
commitcdf1993d1ebe380897f96b75d758c1e51abaec75 (patch)
tree30075ca6914af1d697e42a6b7e0caccfe15c2526 /src/emu/driver.cpp
parent61a555c34750cab2c7dd2c8fd5bab1ede1ee175e (diff)
Eliminate custom_port_read and use ioport finders instead (nw)
Diffstat (limited to 'src/emu/driver.cpp')
-rw-r--r--src/emu/driver.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/emu/driver.cpp b/src/emu/driver.cpp
index 53a4280b493..57d68c929ef 100644
--- a/src/emu/driver.cpp
+++ b/src/emu/driver.cpp
@@ -391,21 +391,3 @@ void driver_device::flip_screen_y_set(u32 on)
updateflip();
}
}
-
-
-/***************************************************************************
-PORT READING HELPERS
-***************************************************************************/
-
-/*-------------------------------------------------
-custom_port_read - act like input_port_read
-but it is a custom port, it is useful for
-e.g. input ports which expect the same port
-repeated both in the upper and lower half
--------------------------------------------------*/
-
-CUSTOM_INPUT_MEMBER(driver_device::custom_port_read)
-{
- const char *tag = (const char *)param;
- return ioport(tag)->read();
-}