mirror of
https://github.com/holub/mame
synced 2025-05-05 22:04:43 +03:00
sensorboard: disable default delay, there is no good one-size-fits-all (nw)
This commit is contained in:
parent
3661ee5ef8
commit
50568e2158
@ -53,11 +53,11 @@ sensorboard_device::sensorboard_device(const machine_config &mconfig, const char
|
||||
m_magnets = false;
|
||||
m_inductive = false;
|
||||
m_ui_enabled = 3;
|
||||
set_delay(attotime::never);
|
||||
|
||||
// set defaults for most common use case (aka chess)
|
||||
set_size(8, 8);
|
||||
set_spawnpoints(12);
|
||||
set_delay(attotime::from_msec(75));
|
||||
}
|
||||
|
||||
|
||||
|
@ -276,6 +276,7 @@ void arb_state::v2(machine_config &config)
|
||||
|
||||
SENSORBOARD(config, m_board).set_type(sensorboard_device::MAGNETS);
|
||||
m_board->init_cb().set(m_board, FUNC(sensorboard_device::preset_chess));
|
||||
m_board->set_delay(attotime::from_msec(100));
|
||||
|
||||
/* video hardware */
|
||||
PWM_DISPLAY(config, m_display).set_size(9+1, 12);
|
||||
|
@ -229,6 +229,7 @@ void master_state::master(machine_config &config)
|
||||
|
||||
SENSORBOARD(config, m_board).set_type(sensorboard_device::BUTTONS);
|
||||
m_board->init_cb().set(m_board, FUNC(sensorboard_device::preset_chess));
|
||||
m_board->set_delay(attotime::from_msec(100));
|
||||
|
||||
/* video hardware */
|
||||
PWM_DISPLAY(config, m_display).set_size(9, 2);
|
||||
|
@ -165,6 +165,7 @@ void scc_state::scc(machine_config &config)
|
||||
|
||||
SENSORBOARD(config, m_board).set_type(sensorboard_device::BUTTONS);
|
||||
m_board->init_cb().set(m_board, FUNC(sensorboard_device::preset_chess));
|
||||
m_board->set_delay(attotime::from_msec(100));
|
||||
|
||||
/* video hardware */
|
||||
PWM_DISPLAY(config, m_display).set_size(9, 8);
|
||||
|
@ -308,6 +308,7 @@ void diablo_state::diablo68k(machine_config &config)
|
||||
|
||||
SENSORBOARD(config, m_board).set_type(sensorboard_device::MAGNETS);
|
||||
m_board->init_cb().set(m_board, FUNC(sensorboard_device::preset_chess));
|
||||
m_board->set_delay(attotime::from_msec(100));
|
||||
|
||||
/* video hardware */
|
||||
SCREEN(config, m_screen, SCREEN_TYPE_LCD);
|
||||
|
@ -370,7 +370,6 @@ void savant_state::savant(machine_config &config)
|
||||
|
||||
SENSORBOARD(config, m_board).set_type(sensorboard_device::BUTTONS);
|
||||
m_board->set_ui_enable(false); // no chesspieces
|
||||
m_board->set_delay(attotime::never);
|
||||
|
||||
NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_1);
|
||||
|
||||
|
@ -222,6 +222,7 @@ void cp2000_state::cp2000(machine_config &config)
|
||||
|
||||
SENSORBOARD(config, m_board).set_type(sensorboard_device::BUTTONS);
|
||||
m_board->init_cb().set(m_board, FUNC(sensorboard_device::preset_chess));
|
||||
m_board->set_delay(attotime::from_msec(100));
|
||||
|
||||
/* video hardware */
|
||||
PWM_DISPLAY(config, m_display).set_size(4, 7);
|
||||
|
Loading…
Reference in New Issue
Block a user