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/ssingles.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/ssingles.c')
-rw-r--r-- | src/mame/drivers/ssingles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/ssingles.c b/src/mame/drivers/ssingles.c index 9af828de095..d7876c7a3a4 100644 --- a/src/mame/drivers/ssingles.c +++ b/src/mame/drivers/ssingles.c @@ -288,7 +288,7 @@ static WRITE8_HANDLER(c001_w) static CUSTOM_INPUT(controls_r) { int data = 7; - switch(input_port_read(field->machine(), "EXTRA")) //multiplexed + switch(input_port_read(field.machine(), "EXTRA")) //multiplexed { case 0x01: data = 1; break; case 0x02: data = 2; break; |