From 46b02a6f9fcdb026f06cddf3aa38e05bec94c88d Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Sun, 29 Nov 2020 20:53:32 +0100 Subject: [PATCH] psr340: matrix scanning is positive too, but I suspect the PAD bit order is wrong too --- src/mame/drivers/ympsr340.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }