diff --git a/tile.cpp b/tile.cpp index 1bdd7351..df8d7039 100644 --- a/tile.cpp +++ b/tile.cpp @@ -858,13 +858,13 @@ void S9xSelectTileConverter (int depth, bool8 hires, bool8 sub, bool8 mosaic) w = Width; \ switch (StartPixel) \ { \ - case 0: DRAW_PIXEL(0, Pix = bp[0]); if (!--w) break; \ - case 1: DRAW_PIXEL(1, Pix = bp[1]); if (!--w) break; \ - case 2: DRAW_PIXEL(2, Pix = bp[2]); if (!--w) break; \ - case 3: DRAW_PIXEL(3, Pix = bp[3]); if (!--w) break; \ - case 4: DRAW_PIXEL(4, Pix = bp[4]); if (!--w) break; \ - case 5: DRAW_PIXEL(5, Pix = bp[5]); if (!--w) break; \ - case 6: DRAW_PIXEL(6, Pix = bp[6]); if (!--w) break; \ + case 0: DRAW_PIXEL(0, Pix = bp[0]); if (!--w) break; /* Fall through */ \ + case 1: DRAW_PIXEL(1, Pix = bp[1]); if (!--w) break; /* Fall through */ \ + case 2: DRAW_PIXEL(2, Pix = bp[2]); if (!--w) break; /* Fall through */ \ + case 3: DRAW_PIXEL(3, Pix = bp[3]); if (!--w) break; /* Fall through */ \ + case 4: DRAW_PIXEL(4, Pix = bp[4]); if (!--w) break; /* Fall through */ \ + case 5: DRAW_PIXEL(5, Pix = bp[5]); if (!--w) break; /* Fall through */ \ + case 6: DRAW_PIXEL(6, Pix = bp[6]); if (!--w) break; /* Fall through */ \ case 7: DRAW_PIXEL(7, Pix = bp[7]); break; \ } \ } \ @@ -878,13 +878,13 @@ void S9xSelectTileConverter (int depth, bool8 hires, bool8 sub, bool8 mosaic) w = Width; \ switch (StartPixel) \ { \ - case 0: DRAW_PIXEL(0, Pix = bp[7]); if (!--w) break; \ - case 1: DRAW_PIXEL(1, Pix = bp[6]); if (!--w) break; \ - case 2: DRAW_PIXEL(2, Pix = bp[5]); if (!--w) break; \ - case 3: DRAW_PIXEL(3, Pix = bp[4]); if (!--w) break; \ - case 4: DRAW_PIXEL(4, Pix = bp[3]); if (!--w) break; \ - case 5: DRAW_PIXEL(5, Pix = bp[2]); if (!--w) break; \ - case 6: DRAW_PIXEL(6, Pix = bp[1]); if (!--w) break; \ + case 0: DRAW_PIXEL(0, Pix = bp[7]); if (!--w) break; /* Fall through */ \ + case 1: DRAW_PIXEL(1, Pix = bp[6]); if (!--w) break; /* Fall through */ \ + case 2: DRAW_PIXEL(2, Pix = bp[5]); if (!--w) break; /* Fall through */ \ + case 3: DRAW_PIXEL(3, Pix = bp[4]); if (!--w) break; /* Fall through */ \ + case 4: DRAW_PIXEL(4, Pix = bp[3]); if (!--w) break; /* Fall through */ \ + case 5: DRAW_PIXEL(5, Pix = bp[2]); if (!--w) break; /* Fall through */ \ + case 6: DRAW_PIXEL(6, Pix = bp[1]); if (!--w) break; /* Fall through */ \ case 7: DRAW_PIXEL(7, Pix = bp[0]); break; \ } \ } \ @@ -898,13 +898,13 @@ void S9xSelectTileConverter (int depth, bool8 hires, bool8 sub, bool8 mosaic) w = Width; \ switch (StartPixel) \ { \ - case 0: DRAW_PIXEL(0, Pix = bp[0]); if (!--w) break; \ - case 1: DRAW_PIXEL(1, Pix = bp[1]); if (!--w) break; \ - case 2: DRAW_PIXEL(2, Pix = bp[2]); if (!--w) break; \ - case 3: DRAW_PIXEL(3, Pix = bp[3]); if (!--w) break; \ - case 4: DRAW_PIXEL(4, Pix = bp[4]); if (!--w) break; \ - case 5: DRAW_PIXEL(5, Pix = bp[5]); if (!--w) break; \ - case 6: DRAW_PIXEL(6, Pix = bp[6]); if (!--w) break; \ + case 0: DRAW_PIXEL(0, Pix = bp[0]); if (!--w) break; /* Fall through */ \ + case 1: DRAW_PIXEL(1, Pix = bp[1]); if (!--w) break; /* Fall through */ \ + case 2: DRAW_PIXEL(2, Pix = bp[2]); if (!--w) break; /* Fall through */ \ + case 3: DRAW_PIXEL(3, Pix = bp[3]); if (!--w) break; /* Fall through */ \ + case 4: DRAW_PIXEL(4, Pix = bp[4]); if (!--w) break; /* Fall through */ \ + case 5: DRAW_PIXEL(5, Pix = bp[5]); if (!--w) break; /* Fall through */ \ + case 6: DRAW_PIXEL(6, Pix = bp[6]); if (!--w) break; /* Fall through */ \ case 7: DRAW_PIXEL(7, Pix = bp[7]); break; \ } \ } \ @@ -917,13 +917,13 @@ void S9xSelectTileConverter (int depth, bool8 hires, bool8 sub, bool8 mosaic) w = Width; \ switch (StartPixel) \ { \ - case 0: DRAW_PIXEL(0, Pix = bp[7]); if (!--w) break; \ - case 1: DRAW_PIXEL(1, Pix = bp[6]); if (!--w) break; \ - case 2: DRAW_PIXEL(2, Pix = bp[5]); if (!--w) break; \ - case 3: DRAW_PIXEL(3, Pix = bp[4]); if (!--w) break; \ - case 4: DRAW_PIXEL(4, Pix = bp[3]); if (!--w) break; \ - case 5: DRAW_PIXEL(5, Pix = bp[2]); if (!--w) break; \ - case 6: DRAW_PIXEL(6, Pix = bp[1]); if (!--w) break; \ + case 0: DRAW_PIXEL(0, Pix = bp[7]); if (!--w) break; /* Fall through */ \ + case 1: DRAW_PIXEL(1, Pix = bp[6]); if (!--w) break; /* Fall through */ \ + case 2: DRAW_PIXEL(2, Pix = bp[5]); if (!--w) break; /* Fall through */ \ + case 3: DRAW_PIXEL(3, Pix = bp[4]); if (!--w) break; /* Fall through */ \ + case 4: DRAW_PIXEL(4, Pix = bp[3]); if (!--w) break; /* Fall through */ \ + case 5: DRAW_PIXEL(5, Pix = bp[2]); if (!--w) break; /* Fall through */ \ + case 6: DRAW_PIXEL(6, Pix = bp[1]); if (!--w) break; /* Fall through */ \ case 7: DRAW_PIXEL(7, Pix = bp[0]); break; \ } \ } \