summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-06-10 17:01:51 -0400
committer AJR <ajrhacker@users.noreply.github.com>2019-06-10 17:01:54 -0400
commit2bb1aaf131a9e427e2ab83a0fc4213ded727794c (patch)
treee7b2fb77c2079889d2f7f0143e2b76d2367479f1
parent7e54e1263b2e5ea705f5241c9ece591effb76ab0 (diff)
a2gameio: Default needs to be 0, not 1 for apple2e at least (nw)
-rw-r--r--src/devices/bus/a2gameio/gameio.cpp8
-rw-r--r--src/devices/bus/a2gameio/gameio.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/bus/a2gameio/gameio.cpp b/src/devices/bus/a2gameio/gameio.cpp
index 4fe1bc67c7c..e488d226b15 100644
--- a/src/devices/bus/a2gameio/gameio.cpp
+++ b/src/devices/bus/a2gameio/gameio.cpp
@@ -119,7 +119,7 @@ READ_LINE_MEMBER(apple2_gameio_device::sw0_r)
if (m_intf != nullptr)
return m_intf->sw0_r();
- return 1;
+ return 0;
}
READ_LINE_MEMBER(apple2_gameio_device::sw1_r)
@@ -127,7 +127,7 @@ READ_LINE_MEMBER(apple2_gameio_device::sw1_r)
if (m_intf != nullptr)
return m_intf->sw1_r();
- return 1;
+ return 0;
}
READ_LINE_MEMBER(apple2_gameio_device::sw2_r)
@@ -135,7 +135,7 @@ READ_LINE_MEMBER(apple2_gameio_device::sw2_r)
if (m_intf != nullptr)
return m_intf->sw2_r();
- return 1;
+ return 0;
}
READ_LINE_MEMBER(apple2_gameio_device::sw3_r)
@@ -143,7 +143,7 @@ READ_LINE_MEMBER(apple2_gameio_device::sw3_r)
if (m_intf != nullptr)
return m_intf->sw3_r();
- return 1;
+ return 0;
}
WRITE_LINE_MEMBER(apple2_gameio_device::an0_w)
diff --git a/src/devices/bus/a2gameio/gameio.h b/src/devices/bus/a2gameio/gameio.h
index 618a874b186..4945ec77a20 100644
--- a/src/devices/bus/a2gameio/gameio.h
+++ b/src/devices/bus/a2gameio/gameio.h
@@ -88,10 +88,10 @@ protected:
virtual u8 pdl1_r() { return 0; }
virtual u8 pdl2_r() { return 0; }
virtual u8 pdl3_r() { return 0; }
- virtual DECLARE_READ_LINE_MEMBER(sw0_r) { return 1; }
- virtual DECLARE_READ_LINE_MEMBER(sw1_r) { return 1; }
- virtual DECLARE_READ_LINE_MEMBER(sw2_r) { return 1; }
- virtual DECLARE_READ_LINE_MEMBER(sw3_r) { return 1; }
+ virtual DECLARE_READ_LINE_MEMBER(sw0_r) { return 0; }
+ virtual DECLARE_READ_LINE_MEMBER(sw1_r) { return 0; }
+ virtual DECLARE_READ_LINE_MEMBER(sw2_r) { return 0; }
+ virtual DECLARE_READ_LINE_MEMBER(sw3_r) { return 0; }
// optional output overrides
virtual DECLARE_WRITE_LINE_MEMBER(an0_w) { }