summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/ojankohs.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2020-05-18 16:42:55 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2020-05-18 16:42:55 +0200
commit4cde7dd08217aee98061f28a1ab263b3d4971418 (patch)
tree449d5556625a0242bca38326e2e90174e1d8bb09 /src/mame/drivers/ojankohs.cpp
parent524846ad9dd92dd31b3c1175746d9ae53c7cd1da (diff)
further macro removal work (nw)
Diffstat (limited to 'src/mame/drivers/ojankohs.cpp')
-rw-r--r--src/mame/drivers/ojankohs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/ojankohs.cpp b/src/mame/drivers/ojankohs.cpp
index 9ba9c4a517f..ee545e238c9 100644
--- a/src/mame/drivers/ojankohs.cpp
+++ b/src/mame/drivers/ojankohs.cpp
@@ -607,13 +607,13 @@ READ8_MEMBER( ojankohs_state::ojankoc_keymatrix_p2_r )
return data;
}
-READ8_MEMBER( ojankohs_state::ojankohs_dipsw1_r )
+uint8_t ojankohs_state::ojankohs_dipsw1_r()
{
uint8_t data = m_dsw1->read();
return bitswap<8>(data, 0, 1, 2, 3, 4, 5, 6, 7);
}
-READ8_MEMBER( ojankohs_state::ojankohs_dipsw2_r )
+uint8_t ojankohs_state::ojankohs_dipsw2_r()
{
uint8_t data = m_dsw2->read();
return bitswap<8>(data, 0, 1, 2, 3, 4, 5, 6, 7);