diff options
author | João Silva | 2017-06-18 16:01:21 +0100 |
---|---|---|
committer | João Silva | 2017-06-18 16:01:21 +0100 |
commit | 7707a66569dc6ae997070e368ab7aca5dc7d7721 (patch) | |
tree | 00b5ae3f43f4b4500302b31b1d5510b5972b2ba6 | |
parent | 63823238beca003f140827bb232a0ac6031736ce (diff) | |
download | snes9x2005-7707a66569dc6ae997070e368ab7aca5dc7d7721.tar.gz snes9x2005-7707a66569dc6ae997070e368ab7aca5dc7d7721.tar.bz2 snes9x2005-7707a66569dc6ae997070e368ab7aca5dc7d7721.zip |
Tile code changes, fixes Seiken Densetsu 3 character selection screen.
-rw-r--r-- | source/tile.c | 144 |
1 files changed, 46 insertions, 98 deletions
diff --git a/source/tile.c b/source/tile.c index 43bcecb..7b78c27 100644 --- a/source/tile.c +++ b/source/tile.c @@ -125,8 +125,8 @@ static uint8_t ConvertTile(uint8_t* pCache, uint32_t TileAddr) } return (non_zero ? true : BLANK_TILE); } -#define PLOT_PIXEL(screen, pixel) (pixel) +#define PLOT_PIXEL(screen, pixel) (pixel) static void WRITE_4PIXELS16(int32_t Offset, uint8_t* Pixels, uint16_t* ScreenColors) { @@ -144,8 +144,7 @@ static void WRITE_4PIXELS16(int32_t Offset, uint8_t* Pixels, uint16_t* ScreenCol } } -static void WRITE_4PIXELS16_FLIPPED(int32_t Offset, uint8_t* Pixels, - uint16_t* ScreenColors) +static void WRITE_4PIXELS16_FLIPPED(int32_t Offset, uint8_t* Pixels, uint16_t* ScreenColors) { uint8_t Pixel, N; uint16_t* Screen = (uint16_t*) GFX.S + Offset; @@ -161,8 +160,7 @@ static void WRITE_4PIXELS16_FLIPPED(int32_t Offset, uint8_t* Pixels, } } -static void WRITE_4PIXELS16_HALFWIDTH(int32_t Offset, uint8_t* Pixels, - uint16_t* ScreenColors) +static void WRITE_4PIXELS16_HALFWIDTH(int32_t Offset, uint8_t* Pixels, uint16_t* ScreenColors) { uint8_t Pixel, N; uint16_t* Screen = (uint16_t*) GFX.S + Offset; @@ -178,8 +176,7 @@ static void WRITE_4PIXELS16_HALFWIDTH(int32_t Offset, uint8_t* Pixels, } } -static void WRITE_4PIXELS16_FLIPPED_HALFWIDTH(int32_t Offset, uint8_t* Pixels, - uint16_t* ScreenColors) +static void WRITE_4PIXELS16_FLIPPED_HALFWIDTH(int32_t Offset, uint8_t* Pixels, uint16_t* ScreenColors) { uint8_t Pixel, N; uint16_t* Screen = (uint16_t*) GFX.S + Offset; @@ -203,7 +200,7 @@ static void WRITE_4PIXELS16x2(int32_t Offset, uint8_t* Pixels, uint16_t* ScreenC for (N = 0; N < 4; N++) { - if (GFX.Z1 > Depth [N] && (Pixel = Pixels[N])) + if (GFX.Z1 > Depth [N * 2] && (Pixel = Pixels[N])) { Screen [N * 2] = Screen [N * 2 + 1] = ScreenColors [Pixel]; Depth [N * 2] = Depth [N * 2 + 1] = GFX.Z2; @@ -211,8 +208,7 @@ static void WRITE_4PIXELS16x2(int32_t Offset, uint8_t* Pixels, uint16_t* ScreenC } } -static void WRITE_4PIXELS16_FLIPPEDx2(int32_t Offset, uint8_t* Pixels, - uint16_t* ScreenColors) +static void WRITE_4PIXELS16_FLIPPEDx2(int32_t Offset, uint8_t* Pixels, uint16_t* ScreenColors) { uint8_t Pixel, N; uint16_t* Screen = (uint16_t*) GFX.S + Offset; @@ -220,7 +216,7 @@ static void WRITE_4PIXELS16_FLIPPEDx2(int32_t Offset, uint8_t* Pixels, for (N = 0; N < 4; N++) { - if (GFX.Z1 > Depth [N] && (Pixel = Pixels[3 - N])) + if (GFX.Z1 > Depth [N * 2] && (Pixel = Pixels[3 - N])) { Screen [N * 2] = Screen [N * 2 + 1] = ScreenColors [Pixel]; Depth [N * 2] = Depth [N * 2 + 1] = GFX.Z2; @@ -228,8 +224,7 @@ static void WRITE_4PIXELS16_FLIPPEDx2(int32_t Offset, uint8_t* Pixels, } } -static void WRITE_4PIXELS16x2x2(int32_t Offset, uint8_t* Pixels, - uint16_t* ScreenColors) +static void WRITE_4PIXELS16x2x2(int32_t Offset, uint8_t* Pixels, uint16_t* ScreenColors) { uint8_t Pixel, N; uint16_t* Screen = (uint16_t*) GFX.S + Offset; @@ -237,18 +232,17 @@ static void WRITE_4PIXELS16x2x2(int32_t Offset, uint8_t* Pixels, for (N = 0; N < 4; N++) { - if (GFX.Z1 > Depth [N] && (Pixel = Pixels[N])) + if (GFX.Z1 > Depth [N * 2] && (Pixel = Pixels[N])) { Screen [N * 2] = Screen [N * 2 + 1] = Screen [(GFX.RealPitch >> 1) + N * 2] = Screen [(GFX.RealPitch >> 1) + N * 2 + 1] = ScreenColors [Pixel]; Depth [N * 2] = Depth [N * 2 + 1] = Depth [(GFX.RealPitch >> 1) + N * 2] = - Depth [(GFX.RealPitch >> 1) + N * 2 + 1] = GFX.Z2; + Depth [(GFX.RealPitch >> 1) + N * 2 + 1] = GFX.Z2; } } } -static void WRITE_4PIXELS16_FLIPPEDx2x2(int32_t Offset, uint8_t* Pixels, - uint16_t* ScreenColors) +static void WRITE_4PIXELS16_FLIPPEDx2x2(int32_t Offset, uint8_t* Pixels, uint16_t* ScreenColors) { uint8_t Pixel, N; uint16_t* Screen = (uint16_t*) GFX.S + Offset; @@ -256,7 +250,7 @@ static void WRITE_4PIXELS16_FLIPPEDx2x2(int32_t Offset, uint8_t* Pixels, for (N = 0; N < 4; N++) { - if (GFX.Z1 > Depth [N] && (Pixel = Pixels[3 - N])) + if (GFX.Z1 > Depth [N * 2] && (Pixel = Pixels[3 - N])) { Screen [N * 2] = Screen [N * 2 + 1] = Screen [(GFX.RealPitch >> 1) + N * 2] = Screen [(GFX.RealPitch >> 1) + N * 2 + 1] = ScreenColors [Pixel]; @@ -266,8 +260,7 @@ static void WRITE_4PIXELS16_FLIPPEDx2x2(int32_t Offset, uint8_t* Pixels, } } -void DrawTile16(uint32_t Tile, int32_t Offset, uint32_t StartLine, - uint32_t LineCount) +void DrawTile16(uint32_t Tile, int32_t Offset, uint32_t StartLine, uint32_t LineCount) { TILE_PREAMBLE uint8_t* bp; @@ -275,9 +268,7 @@ void DrawTile16(uint32_t Tile, int32_t Offset, uint32_t StartLine, RENDER_TILE(WRITE_4PIXELS16, WRITE_4PIXELS16_FLIPPED, 4) } -void DrawClippedTile16(uint32_t Tile, int32_t Offset, - uint32_t StartPixel, uint32_t Width, - uint32_t StartLine, uint32_t LineCount) +void DrawClippedTile16(uint32_t Tile, int32_t Offset, uint32_t StartPixel, uint32_t Width, uint32_t StartLine, uint32_t LineCount) { TILE_PREAMBLE uint8_t* bp; @@ -286,8 +277,7 @@ void DrawClippedTile16(uint32_t Tile, int32_t Offset, RENDER_CLIPPED_TILE(WRITE_4PIXELS16, WRITE_4PIXELS16_FLIPPED, 4) } -void DrawTile16HalfWidth(uint32_t Tile, int32_t Offset, uint32_t StartLine, - uint32_t LineCount) +void DrawTile16HalfWidth(uint32_t Tile, int32_t Offset, uint32_t StartLine, uint32_t LineCount) { TILE_PREAMBLE uint8_t* bp; @@ -295,20 +285,16 @@ void DrawTile16HalfWidth(uint32_t Tile, int32_t Offset, uint32_t StartLine, RENDER_TILE(WRITE_4PIXELS16_HALFWIDTH, WRITE_4PIXELS16_FLIPPED_HALFWIDTH, 2) } -void DrawClippedTile16HalfWidth(uint32_t Tile, int32_t Offset, - uint32_t StartPixel, uint32_t Width, - uint32_t StartLine, uint32_t LineCount) +void DrawClippedTile16HalfWidth(uint32_t Tile, int32_t Offset, uint32_t StartPixel, uint32_t Width, uint32_t StartLine, uint32_t LineCount) { TILE_PREAMBLE uint8_t* bp; TILE_CLIP_PREAMBLE - RENDER_CLIPPED_TILE(WRITE_4PIXELS16_HALFWIDTH, - WRITE_4PIXELS16_FLIPPED_HALFWIDTH, 2) + RENDER_CLIPPED_TILE(WRITE_4PIXELS16_HALFWIDTH, WRITE_4PIXELS16_FLIPPED_HALFWIDTH, 2) } -void DrawTile16x2(uint32_t Tile, int32_t Offset, uint32_t StartLine, - uint32_t LineCount) +void DrawTile16x2(uint32_t Tile, int32_t Offset, uint32_t StartLine, uint32_t LineCount) { TILE_PREAMBLE uint8_t* bp; @@ -316,9 +302,7 @@ void DrawTile16x2(uint32_t Tile, int32_t Offset, uint32_t StartLine, RENDER_TILE(WRITE_4PIXELS16x2, WRITE_4PIXELS16_FLIPPEDx2, 8) } -void DrawClippedTile16x2(uint32_t Tile, int32_t Offset, - uint32_t StartPixel, uint32_t Width, - uint32_t StartLine, uint32_t LineCount) +void DrawClippedTile16x2(uint32_t Tile, int32_t Offset, uint32_t StartPixel, uint32_t Width, uint32_t StartLine, uint32_t LineCount) { TILE_PREAMBLE uint8_t* bp; @@ -360,9 +344,7 @@ void DrawLargePixel16(uint32_t Tile, int32_t Offset, RENDER_TILE_LARGE(ScreenColors [pixel], PLOT_PIXEL) } -void DrawLargePixel16HalfWidth(uint32_t Tile, int32_t Offset, - uint32_t StartPixel, uint32_t Pixels, - uint32_t StartLine, uint32_t LineCount) +void DrawLargePixel16HalfWidth(uint32_t Tile, int32_t Offset, uint32_t StartPixel, uint32_t Pixels, uint32_t StartLine, uint32_t LineCount) { TILE_PREAMBLE @@ -373,8 +355,7 @@ void DrawLargePixel16HalfWidth(uint32_t Tile, int32_t Offset, RENDER_TILE_LARGE_HALFWIDTH(ScreenColors [pixel], PLOT_PIXEL) } -static void WRITE_4PIXELS16_ADD(int32_t Offset, uint8_t* Pixels, - uint16_t* ScreenColors) +static void WRITE_4PIXELS16_ADD(int32_t Offset, uint8_t* Pixels, uint16_t* ScreenColors) { uint8_t Pixel, N; @@ -403,8 +384,7 @@ static void WRITE_4PIXELS16_ADD(int32_t Offset, uint8_t* Pixels, } } -static void WRITE_4PIXELS16_FLIPPED_ADD(int32_t Offset, uint8_t* Pixels, - uint16_t* ScreenColors) +static void WRITE_4PIXELS16_FLIPPED_ADD(int32_t Offset, uint8_t* Pixels, uint16_t* ScreenColors) { uint8_t Pixel, N; @@ -433,8 +413,7 @@ static void WRITE_4PIXELS16_FLIPPED_ADD(int32_t Offset, uint8_t* Pixels, } } -static void WRITE_4PIXELS16_ADD1_2(int32_t Offset, uint8_t* Pixels, - uint16_t* ScreenColors) +static void WRITE_4PIXELS16_ADD1_2(int32_t Offset, uint8_t* Pixels, uint16_t* ScreenColors) { uint8_t Pixel, N; uint16_t* Screen = (uint16_t*) GFX.S + Offset; @@ -463,8 +442,7 @@ static void WRITE_4PIXELS16_ADD1_2(int32_t Offset, uint8_t* Pixels, } } -static void WRITE_4PIXELS16_FLIPPED_ADD1_2(int32_t Offset, uint8_t* Pixels, - uint16_t* ScreenColors) +static void WRITE_4PIXELS16_FLIPPED_ADD1_2(int32_t Offset, uint8_t* Pixels, uint16_t* ScreenColors) { uint8_t Pixel, N; uint16_t* Screen = (uint16_t*) GFX.S + Offset; @@ -493,8 +471,7 @@ static void WRITE_4PIXELS16_FLIPPED_ADD1_2(int32_t Offset, uint8_t* Pixels, } } -static void WRITE_4PIXELS16_SUB(int32_t Offset, uint8_t* Pixels, - uint16_t* ScreenColors) +static void WRITE_4PIXELS16_SUB(int32_t Offset, uint8_t* Pixels, uint16_t* ScreenColors) { uint8_t Pixel, N; uint16_t* Screen = (uint16_t*) GFX.S + Offset; @@ -522,8 +499,7 @@ static void WRITE_4PIXELS16_SUB(int32_t Offset, uint8_t* Pixels, } } -static void WRITE_4PIXELS16_FLIPPED_SUB(int32_t Offset, uint8_t* Pixels, - uint16_t* ScreenColors) +static void WRITE_4PIXELS16_FLIPPED_SUB(int32_t Offset, uint8_t* Pixels, uint16_t* ScreenColors) { uint8_t Pixel, N; uint16_t* Screen = (uint16_t*) GFX.S + Offset; @@ -551,8 +527,7 @@ static void WRITE_4PIXELS16_FLIPPED_SUB(int32_t Offset, uint8_t* Pixels, } } -static void WRITE_4PIXELS16_SUB1_2(int32_t Offset, uint8_t* Pixels, - uint16_t* ScreenColors) +static void WRITE_4PIXELS16_SUB1_2(int32_t Offset, uint8_t* Pixels, uint16_t* ScreenColors) { uint8_t Pixel, N; uint16_t* Screen = (uint16_t*) GFX.S + Offset; @@ -572,8 +547,7 @@ static void WRITE_4PIXELS16_SUB1_2(int32_t Offset, uint8_t* Pixels, Screen [N] = (uint16_t) COLOR_SUB(ScreenColors [Pixel], GFX.FixedColour); break; default: - Screen [N] = (uint16_t) COLOR_SUB1_2(ScreenColors [Pixel], - Screen [GFX.Delta + N]); + Screen [N] = (uint16_t) COLOR_SUB1_2(ScreenColors [Pixel], Screen [GFX.Delta + N]); break; } Depth [N] = GFX.Z2; @@ -581,8 +555,7 @@ static void WRITE_4PIXELS16_SUB1_2(int32_t Offset, uint8_t* Pixels, } } -static void WRITE_4PIXELS16_FLIPPED_SUB1_2(int32_t Offset, uint8_t* Pixels, - uint16_t* ScreenColors) +static void WRITE_4PIXELS16_FLIPPED_SUB1_2(int32_t Offset, uint8_t* Pixels, uint16_t* ScreenColors) { uint8_t Pixel, N; uint16_t* Screen = (uint16_t*) GFX.S + Offset; @@ -612,8 +585,7 @@ static void WRITE_4PIXELS16_FLIPPED_SUB1_2(int32_t Offset, uint8_t* Pixels, } -void DrawTile16Add(uint32_t Tile, int32_t Offset, uint32_t StartLine, - uint32_t LineCount) +void DrawTile16Add(uint32_t Tile, int32_t Offset, uint32_t StartLine, uint32_t LineCount) { TILE_PREAMBLE uint8_t* bp; @@ -737,9 +709,7 @@ void DrawTile16Add(uint32_t Tile, int32_t Offset, uint32_t StartLine, } } -void DrawClippedTile16Add(uint32_t Tile, int32_t Offset, - uint32_t StartPixel, uint32_t Width, - uint32_t StartLine, uint32_t LineCount) +void DrawClippedTile16Add(uint32_t Tile, int32_t Offset, uint32_t StartPixel, uint32_t Width, uint32_t StartLine, uint32_t LineCount) { TILE_PREAMBLE uint8_t* bp; @@ -748,8 +718,7 @@ void DrawClippedTile16Add(uint32_t Tile, int32_t Offset, RENDER_CLIPPED_TILE(WRITE_4PIXELS16_ADD, WRITE_4PIXELS16_FLIPPED_ADD, 4) } -void DrawTile16Add1_2(uint32_t Tile, int32_t Offset, uint32_t StartLine, - uint32_t LineCount) +void DrawTile16Add1_2(uint32_t Tile, int32_t Offset, uint32_t StartLine, uint32_t LineCount) { TILE_PREAMBLE uint8_t* bp; @@ -757,9 +726,7 @@ void DrawTile16Add1_2(uint32_t Tile, int32_t Offset, uint32_t StartLine, RENDER_TILE(WRITE_4PIXELS16_ADD1_2, WRITE_4PIXELS16_FLIPPED_ADD1_2, 4) } -void DrawClippedTile16Add1_2(uint32_t Tile, int32_t Offset, - uint32_t StartPixel, uint32_t Width, - uint32_t StartLine, uint32_t LineCount) +void DrawClippedTile16Add1_2(uint32_t Tile, int32_t Offset, uint32_t StartPixel, uint32_t Width, uint32_t StartLine, uint32_t LineCount) { TILE_PREAMBLE uint8_t* bp; @@ -768,8 +735,7 @@ void DrawClippedTile16Add1_2(uint32_t Tile, int32_t Offset, RENDER_CLIPPED_TILE(WRITE_4PIXELS16_ADD1_2, WRITE_4PIXELS16_FLIPPED_ADD1_2, 4) } -void DrawTile16Sub(uint32_t Tile, int32_t Offset, uint32_t StartLine, - uint32_t LineCount) +void DrawTile16Sub(uint32_t Tile, int32_t Offset, uint32_t StartLine, uint32_t LineCount) { TILE_PREAMBLE uint8_t* bp; @@ -808,8 +774,7 @@ void DrawClippedTile16Sub1_2(uint32_t Tile, int32_t Offset, RENDER_CLIPPED_TILE(WRITE_4PIXELS16_SUB1_2, WRITE_4PIXELS16_FLIPPED_SUB1_2, 4) } -static void WRITE_4PIXELS16_ADDF1_2(int32_t Offset, uint8_t* Pixels, - uint16_t* ScreenColors) +static void WRITE_4PIXELS16_ADDF1_2(int32_t Offset, uint8_t* Pixels, uint16_t* ScreenColors) { uint8_t Pixel, N; uint16_t* Screen = (uint16_t*) GFX.S + Offset; @@ -828,8 +793,7 @@ static void WRITE_4PIXELS16_ADDF1_2(int32_t Offset, uint8_t* Pixels, } } -static void WRITE_4PIXELS16_FLIPPED_ADDF1_2(int32_t Offset, uint8_t* Pixels, - uint16_t* ScreenColors) +static void WRITE_4PIXELS16_FLIPPED_ADDF1_2(int32_t Offset, uint8_t* Pixels, uint16_t* ScreenColors) { uint8_t Pixel, N; uint16_t* Screen = (uint16_t*) GFX.S + Offset; @@ -848,8 +812,7 @@ static void WRITE_4PIXELS16_FLIPPED_ADDF1_2(int32_t Offset, uint8_t* Pixels, } } -static void WRITE_4PIXELS16_SUBF1_2(int32_t Offset, uint8_t* Pixels, - uint16_t* ScreenColors) +static void WRITE_4PIXELS16_SUBF1_2(int32_t Offset, uint8_t* Pixels, uint16_t* ScreenColors) { uint8_t Pixel, N; uint16_t* Screen = (uint16_t*) GFX.S + Offset; @@ -868,8 +831,7 @@ static void WRITE_4PIXELS16_SUBF1_2(int32_t Offset, uint8_t* Pixels, } } -static void WRITE_4PIXELS16_FLIPPED_SUBF1_2(int32_t Offset, uint8_t* Pixels, - uint16_t* ScreenColors) +static void WRITE_4PIXELS16_FLIPPED_SUBF1_2(int32_t Offset, uint8_t* Pixels, uint16_t* ScreenColors) { uint8_t Pixel, N; uint16_t* Screen = (uint16_t*) GFX.S + Offset; @@ -888,8 +850,7 @@ static void WRITE_4PIXELS16_FLIPPED_SUBF1_2(int32_t Offset, uint8_t* Pixels, } } -void DrawTile16FixedAdd1_2(uint32_t Tile, int32_t Offset, uint32_t StartLine, - uint32_t LineCount) +void DrawTile16FixedAdd1_2(uint32_t Tile, int32_t Offset, uint32_t StartLine, uint32_t LineCount) { TILE_PREAMBLE uint8_t* bp; @@ -897,9 +858,7 @@ void DrawTile16FixedAdd1_2(uint32_t Tile, int32_t Offset, uint32_t StartLine, RENDER_TILE(WRITE_4PIXELS16_ADDF1_2, WRITE_4PIXELS16_FLIPPED_ADDF1_2, 4) } -void DrawClippedTile16FixedAdd1_2(uint32_t Tile, int32_t Offset, - uint32_t StartPixel, uint32_t Width, - uint32_t StartLine, uint32_t LineCount) +void DrawClippedTile16FixedAdd1_2(uint32_t Tile, int32_t Offset, uint32_t StartPixel, uint32_t Width, uint32_t StartLine, uint32_t LineCount) { TILE_PREAMBLE uint8_t* bp; @@ -909,8 +868,7 @@ void DrawClippedTile16FixedAdd1_2(uint32_t Tile, int32_t Offset, WRITE_4PIXELS16_FLIPPED_ADDF1_2, 4) } -void DrawTile16FixedSub1_2(uint32_t Tile, int32_t Offset, uint32_t StartLine, - uint32_t LineCount) +void DrawTile16FixedSub1_2(uint32_t Tile, int32_t Offset, uint32_t StartLine, uint32_t LineCount) { TILE_PREAMBLE uint8_t* bp; @@ -918,9 +876,7 @@ void DrawTile16FixedSub1_2(uint32_t Tile, int32_t Offset, uint32_t StartLine, RENDER_TILE(WRITE_4PIXELS16_SUBF1_2, WRITE_4PIXELS16_FLIPPED_SUBF1_2, 4) } -void DrawClippedTile16FixedSub1_2(uint32_t Tile, int32_t Offset, - uint32_t StartPixel, uint32_t Width, - uint32_t StartLine, uint32_t LineCount) +void DrawClippedTile16FixedSub1_2(uint32_t Tile, int32_t Offset, uint32_t StartPixel, uint32_t Width, uint32_t StartLine, uint32_t LineCount) { TILE_PREAMBLE uint8_t* bp; @@ -930,9 +886,7 @@ void DrawClippedTile16FixedSub1_2(uint32_t Tile, int32_t Offset, WRITE_4PIXELS16_FLIPPED_SUBF1_2, 4) } -void DrawLargePixel16Add(uint32_t Tile, int32_t Offset, - uint32_t StartPixel, uint32_t Pixels, - uint32_t StartLine, uint32_t LineCount) +void DrawLargePixel16Add(uint32_t Tile, int32_t Offset, uint32_t StartPixel, uint32_t Pixels, uint32_t StartLine, uint32_t LineCount) { TILE_PREAMBLE @@ -949,9 +903,7 @@ void DrawLargePixel16Add(uint32_t Tile, int32_t Offset, RENDER_TILE_LARGE(ScreenColors [pixel], LARGE_ADD_PIXEL) } -void DrawLargePixel16Add1_2(uint32_t Tile, int32_t Offset, - uint32_t StartPixel, uint32_t Pixels, - uint32_t StartLine, uint32_t LineCount) +void DrawLargePixel16Add1_2(uint32_t Tile, int32_t Offset, uint32_t StartPixel, uint32_t Pixels, uint32_t StartLine, uint32_t LineCount) { TILE_PREAMBLE @@ -968,9 +920,7 @@ void DrawLargePixel16Add1_2(uint32_t Tile, int32_t Offset, RENDER_TILE_LARGE(ScreenColors [pixel], LARGE_ADD_PIXEL1_2) } -void DrawLargePixel16Sub(uint32_t Tile, int32_t Offset, - uint32_t StartPixel, uint32_t Pixels, - uint32_t StartLine, uint32_t LineCount) +void DrawLargePixel16Sub(uint32_t Tile, int32_t Offset, uint32_t StartPixel, uint32_t Pixels, uint32_t StartLine, uint32_t LineCount) { TILE_PREAMBLE @@ -987,9 +937,7 @@ void DrawLargePixel16Sub(uint32_t Tile, int32_t Offset, RENDER_TILE_LARGE(ScreenColors [pixel], LARGE_SUB_PIXEL) } -void DrawLargePixel16Sub1_2(uint32_t Tile, int32_t Offset, - uint32_t StartPixel, uint32_t Pixels, - uint32_t StartLine, uint32_t LineCount) +void DrawLargePixel16Sub1_2(uint32_t Tile, int32_t Offset, uint32_t StartPixel, uint32_t Pixels, uint32_t StartLine, uint32_t LineCount) { TILE_PREAMBLE |