summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/electron/pwrjoy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/electron/pwrjoy.cpp')
-rw-r--r--src/devices/bus/electron/pwrjoy.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/devices/bus/electron/pwrjoy.cpp b/src/devices/bus/electron/pwrjoy.cpp
index 1ff7ab79566..2791f700372 100644
--- a/src/devices/bus/electron/pwrjoy.cpp
+++ b/src/devices/bus/electron/pwrjoy.cpp
@@ -78,10 +78,8 @@ void electron_pwrjoy_device::device_start()
// expbus_r - expansion data read
//-------------------------------------------------
-uint8_t electron_pwrjoy_device::expbus_r(offs_t offset)
+uint8_t electron_pwrjoy_device::expbus_r(address_space &space, offs_t offset, uint8_t data)
{
- uint8_t data = 0xff;
-
if (offset >= 0x8000 && offset < 0xc000)
{
if (m_romsel == 15)
@@ -102,7 +100,7 @@ uint8_t electron_pwrjoy_device::expbus_r(offs_t offset)
// expbus_w - expansion data write
//-------------------------------------------------
-void electron_pwrjoy_device::expbus_w(offs_t offset, uint8_t data)
+void electron_pwrjoy_device::expbus_w(address_space &space, offs_t offset, uint8_t data)
{
if (offset == 0xfe05)
{