Previous 15994 Revisions Next

r7500 Friday 5th March, 2010 at 09:20:36 UTC by Fabio Priuli
run srcclean
[src/mame/video]snes.c

src/mame/video/snes.c
r7499r7500
269269
270270      if (!hires)
271271      {
272         if (scanlines[SNES_MAINSCREEN].enable)
272         if (scanlines[SNES_MAINSCREEN].enable)
273273         {
274274
275275#ifdef SNES_LAYER_DEBUG
r7499r7500
317317            }
318318         }
319319
320         if (scanlines[SNES_SUBSCREEN].enable)
320         if (scanlines[SNES_SUBSCREEN].enable)
321321         {
322322#ifdef SNES_LAYER_DEBUG
323323            if (!debug_options.windows_disabled)
r7499r7500
491491         mask >>= 1;
492492      }
493493
494      if (scanlines[SNES_MAINSCREEN].enable)
494      if (scanlines[SNES_MAINSCREEN].enable)
495495      {
496496
497497#ifdef SNES_LAYER_DEBUG
r7499r7500
516516         }
517517      }
518518
519      if (scanlines[SNES_SUBSCREEN].enable)
519      if (scanlines[SNES_SUBSCREEN].enable)
520520      {
521521
522522#ifdef SNES_LAYER_DEBUG
r7499r7500
650650   while (ii < 256)
651651   {
652652      /*
653      Tilemap format
654        vhopppcc cccccccc
653        Tilemap format
654          vhopppcc cccccccc
655655
656        v/h  = Vertical/Horizontal flip this tile.
657        o    = Tile priority.
658        ppp  = Tile palette. The number of entries in the palette depends on the Mode and the BG.
659        cccccccccc = Tile number.
660      */
656          v/h  = Vertical/Horizontal flip this tile.
657          o    = Tile priority.
658          ppp  = Tile palette. The number of entries in the palette depends on the Mode and the BG.
659          cccccccccc = Tile number.
660        */
661661
662662      // determine the horizontal position (Bishojo Janshi Suchi Pai & Desert Figther have tile_size & hires == 1)
663663      UINT32 xpos = xoff + (ii << (tile_size * hires));
r7499r7500
669669         UINT32 haddr = 0, vaddr = 0;
670670         UINT16 hval = 0, vval = 0;
671671
672            if (opt_x >= 8)
672            if (opt_x >= 8)
673673         {
674674            switch (offset_per_tile)
675675            {
r7499r7500
911911         }
912912      }
913913
914      if (scanlines[SNES_SUBSCREEN].enable)
914      if (scanlines[SNES_SUBSCREEN].enable)
915915      {
916916         if (scanlines[SNES_SUBSCREEN].clip)
917917            colour &= snes_ppu.clipmasks[layer][xpos];

Previous 15994 Revisions Next


© 1998-2018 The MESS Team