From 30df0d4d1c6a05784ae1615a17504d31e2db1c0b Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Sun, 2 Aug 2009 21:58:21 +0000 Subject: [PATCH] From: hoge hoge Date: Sat, 1 Aug 2009 13:07:41 -0700 To: submit@mamedev.org Subject: sbrkout paddle fix Hi, Attached diff for 0133 is a simple fix to mametesters bug 02645, the paddle now correctly has a range of 00 to FF. hap --- src/mame/drivers/sbrkout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/drivers/sbrkout.c b/src/mame/drivers/sbrkout.c index e891da9bf5d..c7f4b83a4e1 100644 --- a/src/mame/drivers/sbrkout.c +++ b/src/mame/drivers/sbrkout.c @@ -126,7 +126,7 @@ static TIMER_CALLBACK( scanline_callback ) if (scanline == video_screen_get_visible_area(machine->primary_screen)->max_y + 1) { UINT8 potvalue = input_port_read(machine, "PADDLE"); - timer_adjust_oneshot(pot_timer, video_screen_get_time_until_pos(machine->primary_screen, 72 + (potvalue / 2), (potvalue % 2) * 128), 0); + timer_adjust_oneshot(pot_timer, video_screen_get_time_until_pos(machine->primary_screen, 56 + (potvalue / 2), (potvalue % 2) * 128), 0); } /* call us back in 4 scanlines */