summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/superqix.c
diff options
context:
space:
mode:
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
commit8a914b3d22703ab8570fd441b8ebc22c04d91a23 (patch)
tree984c9d9259f0a2f5c44adc11a492eb106f0cd8a7 /src/mame/video/superqix.c
parentedb6e3de5a0610ff6e2166904a7f36e543956449 (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/superqix.c')
-rw-r--r--src/mame/video/superqix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/superqix.c b/src/mame/video/superqix.c
index f291539d668..6bcef565a72 100644
--- a/src/mame/video/superqix.c
+++ b/src/mame/video/superqix.c
@@ -241,14 +241,14 @@ VIDEO_UPDATE( pbillian )
{
int curr_power;
- curr_power = ((readinputport(4)&0x3f)*100)/0x3f;
+ curr_power = ((input_port_read_indexed(screen->machine, 4)&0x3f)*100)/0x3f;
if (last_power[0] != curr_power)
{
popmessage ("Power %d%%", curr_power);
last_power[0] = curr_power;
}
- curr_power = ((readinputport(6)&0x3f)*100)/0x3f;
+ curr_power = ((input_port_read_indexed(screen->machine, 6)&0x3f)*100)/0x3f;
if (last_power[1] != curr_power)
{
popmessage ("Power %d%%", curr_power);