trunk/src/mame/drivers/stuntair.c
| r22895 | r22896 | |
| 251 | 251 | |
| 252 | 252 | PORT_START("IN2") |
| 253 | 253 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) |
| 254 | | PORT_DIPNAME( 0x02, 0x02, "IN2:1" ) |
| 255 | | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
| 256 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 254 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) |
| 257 | 255 | PORT_DIPNAME( 0x04, 0x04, "IN2:2" ) |
| 258 | 256 | PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) |
| 259 | 257 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r22895 | r22896 | |
| 438 | 436 | if (m_spritebank1) tile |= 0x40; |
| 439 | 437 | if (m_spritebank0) tile |= 0x80; |
| 440 | 438 | |
| 441 | | int flipx = (m_sprram[(i*16)+1] & 0x80)>>7; // used |
| 442 | | int flipy = (m_sprram[(i*16)+1] & 0x40)>>6; // guessed |
| 439 | int flipy = (m_sprram[(i*16)+1] & 0x80)>>7; // used |
| 440 | // int flipx = (m_sprram[(i*16)+1] & 0x40)>>6; // guessed , wrong |
| 441 | int flipx = 0; |
| 443 | 442 | |
| 444 | | |
| 445 | 443 | drawgfx_transpen(bitmap,cliprect,gfx,tile,0,flipx,flipy,x,y,0); |
| 446 | 444 | } |
| 447 | 445 | |