diff options
author | Aaron Giles <aaron@aarongiles.com> | 2008-04-06 22:02:39 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2008-04-06 22:02:39 +0000 |
commit | 8a914b3d22703ab8570fd441b8ebc22c04d91a23 (patch) | |
tree | 984c9d9259f0a2f5c44adc11a492eb106f0cd8a7 /src/mame/video/madalien.c | |
parent | edb6e3de5a0610ff6e2166904a7f36e543956449 (diff) |
Renamed input port functions:
readinputport -> input_port_read_indexed
readinputportbytag -> input_port_read
readinputportbytag_safe -> input_port_read_safe
Added machine parameter to input port functions. Updated
many drivers to accomplish this.
Diffstat (limited to 'src/mame/video/madalien.c')
-rw-r--r-- | src/mame/video/madalien.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/madalien.c b/src/mame/video/madalien.c index 9dfe00a2305..0ee87a78ae0 100644 --- a/src/mame/video/madalien.c +++ b/src/mame/video/madalien.c @@ -253,7 +253,7 @@ static void draw_foreground(running_machine *machine, bitmap_t *bitmap, const re static VIDEO_UPDATE( madalien ) { - int flip = BIT(readinputportbytag("DIP"), 6) && BIT(*madalien_video_control, 0); + int flip = BIT(input_port_read(screen->machine, "DIP"), 6) && BIT(*madalien_video_control, 0); // bits #0 and #1 define scrolling mode // |