diff options
author | Aaron Giles <aaron@aarongiles.com> | 2011-05-11 22:50:01 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2011-05-11 22:50:01 +0000 |
commit | b56339a9a0d7dfab176f120ae5418fa3ddcd7959 (patch) | |
tree | 7562973e9e7cd197082ca1efe05021f939e53988 /src/mame/drivers/brkthru.c | |
parent | fda7ea574d5bc46d587058d5e9eb41d85a0b8903 (diff) |
Changed input read/write and crosshair callbacks into delegates.
Changed signature for callbacks to take an input_field_config
reference instead of pointer.
Diffstat (limited to 'src/mame/drivers/brkthru.c')
-rw-r--r-- | src/mame/drivers/brkthru.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/brkthru.c b/src/mame/drivers/brkthru.c index a97c9a6154d..98186e2e73e 100644 --- a/src/mame/drivers/brkthru.c +++ b/src/mame/drivers/brkthru.c @@ -92,7 +92,7 @@ static WRITE8_HANDLER( brkthru_soundlatch_w ) static INPUT_CHANGED( coin_inserted ) { - brkthru_state *state = field->machine().driver_data<brkthru_state>(); + brkthru_state *state = field.machine().driver_data<brkthru_state>(); /* coin insertion causes an IRQ */ device_set_input_line(state->m_maincpu, 0, newval ? CLEAR_LINE : ASSERT_LINE); } |