diff options
author | Roberto Zandona <robertoz@mamedev.org> | 2010-09-11 18:35:29 +0000 |
---|---|---|
committer | Roberto Zandona <robertoz@mamedev.org> | 2010-09-11 18:35:29 +0000 |
commit | 7f48beec631b48269c4a9394d2f7291a1c20ecbb (patch) | |
tree | 2793bdce47910b706219d6248d75b36d3e9f61e0 | |
parent | fa513efd5e1adf2a14e0d77c7884d937d02a22b2 (diff) |
ssv: fixed bit #a of 7a-7b CRT register [Roberto Zandona']
-rw-r--r-- | src/mame/video/ssv.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/video/ssv.c b/src/mame/video/ssv.c index 686ec759f76..e27e0f21ab1 100644 --- a/src/mame/video/ssv.c +++ b/src/mame/video/ssv.c @@ -881,7 +881,7 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const recta sprites_offsx = -((ssv_scroll[0x7a/2] & 0x0800) >> 8); sprites_offsy = (-1)*((ssv_scroll[0x70/2] & 0x1ff) - (ssv_scroll[0x70/2] & 0x200) - + ssv_scroll[0x6a/2] + 1) + ((!ssv_scroll[0x7a/2] & 0x0800) >> 8); + + ssv_scroll[0x6a/2] + 1) - (((ssv_scroll[0x7a/2] ^ 0x0800) & 0x0800) >> 8); if (ssv_scroll[0x74/2] & 0x4000) // srmp7, twineag2, ultrax, vasara { @@ -889,14 +889,12 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const recta if (ssv_scroll[0x74/2] & 0x8000) sy += 0x00; // srmp7, twineag2, ultrax else - sy -= 0x08; // vasara + sy -= 0x10; // vasara } // sprites can use x and y coordinates relative to a side, the other side or the center // for now we use a kludge - - if (ssv_scroll[0x74/2] & 0x8000) { if (ssv_scroll[0x76/2] & 0x4000) { // twineag2, ultrax @@ -924,7 +922,7 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const recta } /* Sprite code masking */ - if(xnum == 2 && ynum == 4) // needed by hypreact + if (xnum == 2 && ynum == 4) // needed by hypreact { code &= ~7; } |