Previous 199869 Revisions Next

r21316 Friday 22nd February, 2013 at 15:03:48 UTC by David Haywood
silly zoom bug with flipped objects
[src/mame/drivers]coolridr.c

trunk/src/mame/drivers/coolridr.c
r21315r21316
996996
997997         // DEBUG: Draw 16x16 block
998998         UINT32* line;
999
9991000         if (blit_rotate)
10001001         {
10011002            if (used_flipy)
10021003            {
1003               for (int y = 0; y < 16; y++)
1004               for (int y = 0; y < blockhigh; y++)
10041005               {
10051006                  const int drawy = pixelOffsetY+y;
10061007                  if ((drawy>383) || (drawy<0)) continue;
r21315r21316
10091010
10101011                  if (used_flipx)
10111012                  {
1012                     for (int x = 0; x < 16; x++)
1013                     for (int x = 0; x < blockwide; x++)
10131014                     {
10141015                        const int drawx = pixelOffsetX+x;
10151016                        if ((drawx>=495 || drawx<0)) continue;
r21315r21316
10221023                  }
10231024                  else
10241025                  {
1025                     for (int x = 0; x < 16; x++)
1026                     for (int x = 0; x < blockwide; x++)
10261027                     {
10271028                        const int drawx = pixelOffsetX+x;
10281029                        if ((drawx>=495 || drawx<0)) continue;
r21315r21316
10371038            }
10381039            else
10391040            {
1040               for (int y = 0; y < 16; y++)
1041               for (int y = 0; y < blockhigh; y++)
10411042               {
10421043                  const int drawy = pixelOffsetY+y;
10431044                  if ((drawy>383) || (drawy<0)) continue;
r21315r21316
10461047
10471048                  if (used_flipx)
10481049                  {
1049                     for (int x = 0; x < 16; x++)
1050                     for (int x = 0; x < blockwide; x++)
10501051                     {
10511052                        const int drawx = pixelOffsetX+x;
10521053                        if ((drawx>=495 || drawx<0)) continue;
r21315r21316
10591060                  }
10601061                  else
10611062                  {
1062                     for (int x = 0; x < 16; x++)
1063                     for (int x = 0; x < blockwide; x++)
10631064                     {
10641065                        const int drawx = pixelOffsetX+x;
10651066                        if ((drawx>=495 || drawx<0)) continue;
r21315r21316
10771078         {
10781079            if (used_flipy)
10791080            {
1080               for (int y = 0; y < 16; y++)
1081               for (int y = 0; y < blockhigh; y++)
10811082               {
10821083                  const int drawy = pixelOffsetY+y;
10831084                  if ((drawy>383) || (drawy<0)) continue;
r21315r21316
10861087
10871088                  if (used_flipx)
10881089                  {
1089                     for (int x = 0; x < 16; x++)
1090                     for (int x = 0; x < blockwide; x++)
10901091                     {
10911092                        const int drawx = pixelOffsetX+x;
10921093                        if ((drawx>=495 || drawx<0)) continue;
r21315r21316
10991100                  }
11001101                  else
11011102                  {
1102                     for (int x = 0; x < 16; x++)
1103                     for (int x = 0; x < blockwide; x++)
11031104                     {
11041105                        const int drawx = pixelOffsetX+x;
11051106                        if ((drawx>=495 || drawx<0)) continue;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team