summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/superqix.c
diff options
context:
space:
mode:
author Michaël Banaan Ananas <happppp@users.noreply.github.com>2011-08-25 14:47:46 +0000
committer Michaël Banaan Ananas <happppp@users.noreply.github.com>2011-08-25 14:47:46 +0000
commit5a19d33ee9afb4cc33db3ab61fc6074d739a6926 (patch)
treebcb1c6f627a1049d7cf7c3b3741c3e0edbf1ee1f /src/mame/video/superqix.c
parentbf52cb255151604ae22c3a1df8c15d315400b5dc (diff)
made pbillian plunger more authentic: just hold CTRL for an amount of time and let go
Diffstat (limited to 'src/mame/video/superqix.c')
-rw-r--r--src/mame/video/superqix.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/mame/video/superqix.c b/src/mame/video/superqix.c
index 6711c23c0a3..1b297a3b3d1 100644
--- a/src/mame/video/superqix.c
+++ b/src/mame/video/superqix.c
@@ -53,11 +53,6 @@ VIDEO_START( pbillian )
{
superqix_state *state = machine.driver_data<superqix_state>();
state->m_bg_tilemap = tilemap_create(machine, pb_get_bg_tile_info, tilemap_scan_rows, 8, 8,32,32);
-
- /* Need to do save state here */
- state->save_item(NAME(state->m_last_power[0]));
- state->save_item(NAME(state->m_last_power[1]));
- state->save_item(NAME(state->m_pbillian_show_power));
}
VIDEO_START( superqix )
@@ -235,24 +230,6 @@ SCREEN_UPDATE( pbillian )
tilemap_draw(bitmap, cliprect, state->m_bg_tilemap, 0, 0);
pbillian_draw_sprites(screen->machine(), bitmap,cliprect);
- if (state->m_pbillian_show_power)
- {
- int curr_power;
-
- curr_power = ((input_port_read(screen->machine(), "PADDLE1") & 0x3f) * 100) / 0x3f;
- if (state->m_last_power[0] != curr_power)
- {
- popmessage ("Power %d%%", curr_power);
- state->m_last_power[0] = curr_power;
- }
-
- curr_power = ((input_port_read(screen->machine(), "PADDLE2") & 0x3f) * 100) / 0x3f;
- if (state->m_last_power[1] != curr_power)
- {
- popmessage ("Power %d%%", curr_power);
- state->m_last_power[1] = curr_power;
- }
- }
return 0;
}