summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-04-10 13:52:22 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-04-10 13:52:22 +0000
commit8edb9ce1b621560bae869e24f3cd1e1368ced71a (patch)
tree4aba8e3acba50f904f88edf1ccd5ff95b1b20c66
parent66c48036a3fdb95dcbb3d43cea0c7b5882f52d04 (diff)
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
-rw-r--r--src/mame/drivers/sf.c4
1 files 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;
}