From 8edb9ce1b621560bae869e24f3cd1e1368ced71a Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Thu, 10 Apr 2008 13:52:22 +0000 Subject: [PATCH] From: Fabio Priuli [mailto:priuli@math.ntnu.no] Subject: bugfix to 1673 on MT Enclosed please find a patch which fixes bug 1673 in MT. in 123u4 a few machine parameter where added to the routines drawing bg and fg, but all of them where moved to use the _fg function. putting _bg where they were in 123u3 fixes the bug --- src/mame/drivers/sf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mame/drivers/sf.c b/src/mame/drivers/sf.c index 55b2645d3d4..ce1a2265b86 100644 --- a/src/mame/drivers/sf.c +++ b/src/mame/drivers/sf.c @@ -124,7 +124,7 @@ static WRITE16_HANDLER( protection_w ) program_write_word(0xffc00e, 0); sf_fg_scroll_w(machine, 0, d1, 0); - sf_fg_scroll_w(machine, 0, d2, 0); + sf_bg_scroll_w(machine, 0, d2, 0); break; } case 4: @@ -144,7 +144,7 @@ static WRITE16_HANDLER( protection_w ) } program_write_word(0xffc682, d1); program_write_word(0xffc00e, off); - sf_fg_scroll_w(machine, 0, d1, 0); + sf_bg_scroll_w(machine, 0, d1, 0); } break; }