mirror of
https://github.com/holub/mame
synced 2025-05-23 14:19:01 +03:00
fix cocktail offset
This commit is contained in:
parent
9720d9b577
commit
d182860d4b
@ -318,7 +318,7 @@ static void draw_chars( running_machine &machine, bitmap_ind16 &bitmap, const re
|
||||
|
||||
if (flip_screen_get(machine))
|
||||
{
|
||||
x = 31 - x;
|
||||
x = 31 + 16 - x;
|
||||
y = 33 - y;
|
||||
}
|
||||
|
||||
@ -354,7 +354,7 @@ static void draw_sprites( running_machine &machine, bitmap_ind16 &bitmap, const
|
||||
|
||||
if (flip_screen_get(machine))
|
||||
{
|
||||
x = 240 - x;
|
||||
x = 240 + 128 - x;
|
||||
y = 256 - y + sprite_y_adjust_flip_screen;
|
||||
|
||||
flipx = !flipx;
|
||||
@ -407,7 +407,7 @@ static void draw_background( running_machine &machine, bitmap_ind16 &bitmap, con
|
||||
|
||||
if (flip_screen_get(machine))
|
||||
{
|
||||
x = 240 - x;
|
||||
x = 240 + 128 - x;
|
||||
y = 256 - y;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user