Previous 15994 Revisions Next

r7543 Tuesday 9th March, 2010 at 17:02:58 UTC by Fabio Priuli
[SNES] reverting most of rev.7540 to avoid regressions (apparently, more changes to OAM code are needed for this to work)
[src/mame/video]snes.c

src/mame/video/snes.c
r7542r7543
11331133
11341134   charaddr = snes_ppu.layer[SNES_OAM].charmap << 13;
11351135
1136   snes_update_obsel();
1137   snes_oam_list_build();
1138
11361139   for (i = 128; i > 0; i--)
11371140   {
11381141      tile = oam_list[i].tile;
r7542r7543
13371340
13381341static void snes_draw_screens( UINT16 curline )
13391342{
1340   snes_oam_list_build();
1341
13421343   switch (snes_ppu.mode)
13431344   {
13441345      case 0: snes_update_mode_0(curline); break;      /* Mode 0 */
r7542r7543
15811582{
15821583   int y;
15831584
1584   snes_update_obsel();
1585
15861585   /*NTSC SNES draw range is 1-225. */
15871586   for (y = cliprect->min_y; y <= cliprect->max_y; y++)
15881587   {
15891588      snes_refresh_scanline(screen->machine, bitmap, y + 1);
1590      snes_update_obsel();
15911589   }
15921590   return 0;
15931591}

Previous 15994 Revisions Next


© 1998-2018 The MESS Team