diff options
Diffstat (limited to 'src/devices/bus/electron/fbjoy.cpp')
-rw-r--r-- | src/devices/bus/electron/fbjoy.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/devices/bus/electron/fbjoy.cpp b/src/devices/bus/electron/fbjoy.cpp index 6c4939edbf5..e5a4042cfeb 100644 --- a/src/devices/bus/electron/fbjoy.cpp +++ b/src/devices/bus/electron/fbjoy.cpp @@ -67,8 +67,10 @@ void electron_fbjoy_device::device_start() // expbus_r - expansion data read //------------------------------------------------- -uint8_t electron_fbjoy_device::expbus_r(address_space &space, offs_t offset, uint8_t data) +uint8_t electron_fbjoy_device::expbus_r(offs_t offset) { + uint8_t data = 0xff; + if (offset == 0xfcc0) { data = m_joy->read() | 0xe0; |