diff options
author | Angelo Salese <angelosa@users.noreply.github.com> | 2011-12-07 03:25:27 +0000 |
---|---|---|
committer | Angelo Salese <angelosa@users.noreply.github.com> | 2011-12-07 03:25:27 +0000 |
commit | fcdd0a5c1d0592df8428222528ca902471381536 (patch) | |
tree | c64309558841b302ccf015eada0f1b4c7fa6b983 /src/mame/machine/atarifb.c | |
parent | f0306837fcc928414aae586cbf74ac8d2a9c2c50 (diff) |
deprecat.h
Diffstat (limited to 'src/mame/machine/atarifb.c')
-rw-r--r-- | src/mame/machine/atarifb.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/mame/machine/atarifb.c b/src/mame/machine/atarifb.c index cd109590005..b47fb59147a 100644 --- a/src/mame/machine/atarifb.c +++ b/src/mame/machine/atarifb.c @@ -5,7 +5,6 @@ *************************************************************************/ #include "emu.h" -#include "deprecat.h" #include "includes/atarifb.h" #include "sound/discrete.h" @@ -121,10 +120,11 @@ WRITE8_HANDLER( soccer_out2_w ) * *************************************/ +/* FIXME: almost surely not tied with screen vertical position */ WRITE8_HANDLER( atarifb_out3_w ) { - atarifb_state *state = space->machine().driver_data<atarifb_state>(); - int loop = cpu_getiloops(state->m_maincpu); + //atarifb_state *state = space->machine().driver_data<atarifb_state>(); + int loop = space->machine().primary_screen->vpos() >= 123; switch (loop) { @@ -137,8 +137,6 @@ WRITE8_HANDLER( atarifb_out3_w ) output_set_value("ledleft4", (data >> 4) & 1); break; case 0x01: - break; - case 0x02: /* Player 2 play select lamp */ output_set_value("ledright0", (data >> 0) & 1); output_set_value("ledright1", (data >> 1) & 1); @@ -146,8 +144,6 @@ WRITE8_HANDLER( atarifb_out3_w ) output_set_value("ledright3", (data >> 3) & 1); output_set_value("ledright4", (data >> 4) & 1); break; - case 0x03: - break; } // logerror("out3_w, %02x:%02x\n", loop, data); } |