Previous 199869 Revisions Next

r33684 Friday 5th December, 2014 at 03:09:27 UTC by Alex W. Jackson
btime.c: fix flip screen [Alex Jackson]
[src/mame/video]btime.c

trunk/src/mame/video/btime.c
r242195r242196
303303
304304      if (flip_screen())
305305      {
306         x = 31 + 16 - x;
307         y = 33 - y;
306         x = 31 - x;
307         y = 31 - y;
308308      }
309309
310310      m_gfxdecode->gfx(0)->transpen(bitmap,cliprect,
r242195r242196
339339
340340      if (flip_screen())
341341      {
342         x = 240 + 128 - x;
343         y = 256 - y + sprite_y_adjust_flip_screen;
342         x = 240 - x;
343         y = 240 - y + sprite_y_adjust_flip_screen;
344344
345345         flipx = !flipx;
346346         flipy = !flipy;
r242195r242196
391391
392392         if (flip_screen())
393393         {
394            x = 240 + 128 - x;
395            y = 256 - y;
394            x = 240 - x;
395            y = 240 - y;
396396         }
397397
398398         m_gfxdecode->gfx(2)->opaque(bitmap,cliprect,
r242195r242196
488488         if (flip_screen())
489489         {
490490            sx = 496 - sx;
491            sy = 256 - sy;
491            sy = 240 - sy;
492492         }
493493
494494         m_gfxdecode->gfx(2)->opaque(*m_background_bitmap,m_background_bitmap->cliprect(),
r242195r242196
534534      if (flip_screen())
535535      {
536536         sx = 31 - sx;
537         sy = 33 - sy;
537         sy = 31 - sy;
538538      }
539539
540540      m_gfxdecode->gfx(2)->opaque(bitmap,cliprect,


Previous 199869 Revisions Next


© 1997-2024 The MAME Team