diff options
author | 2019-06-30 01:33:37 +0200 | |
---|---|---|
committer | 2019-06-30 01:33:37 +0200 | |
commit | d8c845b7d85884c1e246c6d404579ebf69935d26 (patch) | |
tree | 5c0d4eec9527b055d5a587024a88f709e639a48e | |
parent | 203ef23e6fde3d33a386eb14758952b61e38c9bf (diff) |
sboard: ctrl/shift+click no effect for inductive (nw)
-rw-r--r-- | src/devices/machine/sensorboard.cpp | 3 | ||||
-rw-r--r-- | src/mame/machine/smartboard.cpp | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/devices/machine/sensorboard.cpp b/src/devices/machine/sensorboard.cpp index 4bdaa4893f7..420b3a4f6ed 100644 --- a/src/devices/machine/sensorboard.cpp +++ b/src/devices/machine/sensorboard.cpp @@ -194,6 +194,9 @@ sensorboard_device &sensorboard_device::set_type(sb_type type) set_delay(attotime::never); } + if (m_inductive) + set_mod_enable(false); + return *this; } diff --git a/src/mame/machine/smartboard.cpp b/src/mame/machine/smartboard.cpp index 7dd37e2ac54..523cb763be8 100644 --- a/src/mame/machine/smartboard.cpp +++ b/src/mame/machine/smartboard.cpp @@ -107,7 +107,6 @@ void tasc_sb30_device::device_add_mconfig(machine_config &config) SENSORBOARD(config, m_board); m_board->set_type(sensorboard_device::INDUCTIVE); m_board->set_max_id(32); - m_board->set_mod_enable(false); m_board->init_cb().set(FUNC(tasc_sb30_device::init_cb)); m_board->spawn_cb().set(FUNC(tasc_sb30_device::spawn_cb)); } |