summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2015-02-21 09:48:38 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2015-02-21 09:48:38 +0100
commita7545070f988d85ec7dd9bb7914b9412d1c3117d (patch)
treee1c3d16b1cd8bb6958f6b5ee4965c08d6fbecc2d
parent7ed9885050577423f1bdc98e5d6929a003bdf431 (diff)
tehkanwc.c: oops, forgot to save (nw)
-rw-r--r--src/mame/includes/tehkanwc.h2
-rw-r--r--src/mame/video/tehkanwc.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/includes/tehkanwc.h b/src/mame/includes/tehkanwc.h
index 5a989d39aeb..46c74a19a89 100644
--- a/src/mame/includes/tehkanwc.h
+++ b/src/mame/includes/tehkanwc.h
@@ -74,7 +74,7 @@ public:
virtual void video_start();
UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- void draw_led(bitmap_ind16 &bitmap, const rectangle &cliprect, UINT8 led,int player);
+ void gridiron_draw_led(bitmap_ind16 &bitmap, const rectangle &cliprect, UINT8 led,int player);
void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect);
protected:
diff --git a/src/mame/video/tehkanwc.c b/src/mame/video/tehkanwc.c
index 2b1467b1757..199c402798d 100644
--- a/src/mame/video/tehkanwc.c
+++ b/src/mame/video/tehkanwc.c
@@ -117,7 +117,7 @@ void tehkanwc_state::video_start()
bit 7 = enable (0 = display off)
*/
-void tehkanwc_state::draw_led(bitmap_ind16 &bitmap, const rectangle &cliprect, UINT8 led,int player)
+void tehkanwc_state::gridiron_draw_led(bitmap_ind16 &bitmap, const rectangle &cliprect, UINT8 led,int player)
{
if (led&0x80)
output_set_digit_value(player, led&0x7f);
@@ -161,7 +161,7 @@ UINT32 tehkanwc_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap
m_fg_tilemap->draw(screen, bitmap, cliprect, 0, 0);
draw_sprites(bitmap, cliprect);
m_fg_tilemap->draw(screen, bitmap, cliprect, 1, 0);
- draw_led(bitmap, cliprect, m_led0, 0);
- draw_led(bitmap, cliprect, m_led1, 1);
+ gridiron_draw_led(bitmap, cliprect, m_led0, 0);
+ gridiron_draw_led(bitmap, cliprect, m_led1, 1);
return 0;
}