src/mess/drivers/supracan.c
| r7692 | r7693 | |
| 19 | 19 | - Priorities; |
| 20 | 20 | - Boom Zoo: missing window effect applied on sprites; |
| 21 | 21 | - Sango Fighter: Missing rowscroll effect; |
| 22 | | - Sango Fighter: sprites doesn't get drawn on the far right of the screen; |
| 23 | 22 | - Sango Fighter: sprites have some bad gaps of black; |
| 24 | 23 | - Sango Fighter: Missing black masking on the top-down edges of the screen on gameplay? |
| 25 | 24 | - Sango Fighter: intro looks bogus, dunno what's supposed to draw... |
| 26 | 25 | - Super Taiwanese Baseball League: Missing window effect applied on a tilemap; |
| 27 | 26 | - Super Taiwanese Baseball League: Unemulated paging mode; |
| 28 | | - Super Dragon Force: sprite y masking limit looks wrong; |
| 29 | 27 | - Super Dragon Force: priority issues with the text; |
| 30 | 28 | - Super Dragon Force: wrong ysize on character select screen; |
| 31 | 29 | |
| r7692 | r7693 | |
| 280 | 278 | /* |
| 281 | 279 | [0] |
| 282 | 280 | ---h hhh- ---- ---- Y size |
| 283 | | ---- ---- yyyy yyyy Y offset |
| 281 | ---- ---y yyyy yyyy Y offset |
| 284 | 282 | [1] |
| 285 | 283 | bbbb ---- ---- ---- sprite offset bank |
| 286 | 284 | ---- d--- ---- ---- horizontal direction |
| 287 | 285 | ---- ---- ---- -www X size |
| 288 | 286 | [2] |
| 289 | 287 | zzz- ---- ---- ---- X shrinking |
| 290 | | ---- ---S xxxx xxxx X offset |
| 288 | ---- ---x xxxx xxxx X offset |
| 291 | 289 | [3] |
| 292 | 290 | oooo oooo oooo oooo sprite pointer |
| 293 | 291 | */ |
| 294 | 292 | |
| 295 | 293 | for(i=spr_base/2;i<(spr_base+(state->spr_limit*8))/2;i+=4) |
| 296 | 294 | { |
| 297 | | x = supracan_vram[i+2] & 0x00ff; |
| 298 | | y = supracan_vram[i+0] & 0x00ff; |
| 295 | x = supracan_vram[i+2] & 0x01ff; |
| 296 | y = supracan_vram[i+0] & 0x01ff; |
| 299 | 297 | spr_offs = supracan_vram[i+3] << 2; |
| 300 | 298 | bank = (supracan_vram[i+1] & 0xf000) >> 12; |
| 301 | 299 | hflip = (supracan_vram[i+1] & 0x0800) ? 1 : 0; |
| 302 | 300 | vflip = (supracan_vram[i+1] & 0x0400) ? 1 : 0; |
| 303 | 301 | |
| 304 | | /* FIXME: Sango Fighter doesn't like this, check why ... */ |
| 305 | | if(supracan_vram[i+2] & 0x100) |
| 306 | | x-=256; |
| 302 | if(x > cliprect->max_x) |
| 303 | x-=0x200; |
| 304 | if(y > cliprect->max_y) |
| 305 | y-=0x200; |
| 307 | 306 | |
| 308 | 307 | if(supracan_vram[i+3] != 0) |
| 309 | 308 | { |