summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/neogeo_ctrl/ctrl.cpp
diff options
context:
space:
mode:
author etabeta78 <doge.fabio@gmail.com>2016-04-14 07:55:32 +0200
committer etabeta78 <doge.fabio@gmail.com>2016-04-14 07:55:32 +0200
commit013440849c1973d0a4d662afdddc0ff601d2acd6 (patch)
tree4c07384a88df1ceede2865dfbf611977fe1c5dab /src/devices/bus/neogeo_ctrl/ctrl.cpp
parentbf9ef09474ecf4a13758b77b846dc841cd04b893 (diff)
8bit handlers are more appropriate here. nw.
Diffstat (limited to 'src/devices/bus/neogeo_ctrl/ctrl.cpp')
-rw-r--r--src/devices/bus/neogeo_ctrl/ctrl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/neogeo_ctrl/ctrl.cpp b/src/devices/bus/neogeo_ctrl/ctrl.cpp
index 94d85f99b99..6f96fdd3762 100644
--- a/src/devices/bus/neogeo_ctrl/ctrl.cpp
+++ b/src/devices/bus/neogeo_ctrl/ctrl.cpp
@@ -77,9 +77,9 @@ void neogeo_control_port_device::device_start()
}
-UINT16 neogeo_control_port_device::read_ctrl()
+UINT8 neogeo_control_port_device::read_ctrl()
{
- UINT16 data = 0;
+ UINT8 data = 0;
if (m_device)
data |= m_device->read_ctrl();
return data;