src/mame/video/snes.c
| r7542 | r7543 | |
| 1133 | 1133 | |
| 1134 | 1134 | charaddr = snes_ppu.layer[SNES_OAM].charmap << 13; |
| 1135 | 1135 | |
| 1136 | snes_update_obsel(); |
| 1137 | snes_oam_list_build(); |
| 1138 | |
| 1136 | 1139 | for (i = 128; i > 0; i--) |
| 1137 | 1140 | { |
| 1138 | 1141 | tile = oam_list[i].tile; |
| r7542 | r7543 | |
| 1337 | 1340 | |
| 1338 | 1341 | static void snes_draw_screens( UINT16 curline ) |
| 1339 | 1342 | { |
| 1340 | | snes_oam_list_build(); |
| 1341 | | |
| 1342 | 1343 | switch (snes_ppu.mode) |
| 1343 | 1344 | { |
| 1344 | 1345 | case 0: snes_update_mode_0(curline); break; /* Mode 0 */ |
| r7542 | r7543 | |
| 1581 | 1582 | { |
| 1582 | 1583 | int y; |
| 1583 | 1584 | |
| 1584 | | snes_update_obsel(); |
| 1585 | | |
| 1586 | 1585 | /*NTSC SNES draw range is 1-225. */ |
| 1587 | 1586 | for (y = cliprect->min_y; y <= cliprect->max_y; y++) |
| 1588 | 1587 | { |
| 1589 | 1588 | snes_refresh_scanline(screen->machine, bitmap, y + 1); |
| 1590 | | snes_update_obsel(); |
| 1591 | 1589 | } |
| 1592 | 1590 | return 0; |
| 1593 | 1591 | } |