summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2020-11-29 20:53:32 +0100
committer Olivier Galibert <galibert@pobox.com>2020-11-29 20:53:32 +0100
commit46b02a6f9fcdb026f06cddf3aa38e05bec94c88d (patch)
treed3f40cc4f35bd32be6c812ec36244dbfd9d961a6
parent4330d5b696cb2d72ac7cae93c1cec4480c003631 (diff)
psr340: matrix scanning is positive too, but I suspect the PAD bit order is wrong too
-rw-r--r--src/mame/drivers/ympsr340.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/ympsr340.cpp b/src/mame/drivers/ympsr340.cpp
index 9cea741e737..a403d4ca51d 100644
--- a/src/mame/drivers/ympsr340.cpp
+++ b/src/mame/drivers/ympsr340.cpp
@@ -69,7 +69,7 @@ u8 psr340_state::matrix_r()
for (int i = 0; i < 8; i++)
{
- if (!BIT(m_matrixsel, i))
+ if (BIT(m_matrixsel, i))
{
data |= m_key[i]->read();
}