From 2c2554061cf41c96b040fad07dba98c00cd65483 Mon Sep 17 00:00:00 2001 From: OBattler Date: Tue, 1 Oct 2019 22:15:25 +0200 Subject: [PATCH] Removed an unused array and its initialization from video/video.c. --- src/video/video.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/video/video.c b/src/video/video.c index e480be43d..375ac3049 100644 --- a/src/video/video.c +++ b/src/video/video.c @@ -40,7 +40,7 @@ * W = 3 bus clocks * L = 4 bus clocks * - * Version: @(#)video.c 1.0.32 2019/10/01 + * Version: @(#)video.c 1.0.33 2019/10/01 * * Authors: Sarah Walker, * Miran Grca, @@ -87,7 +87,6 @@ uint32_t *video_6to8 = NULL, int egareads = 0, egawrites = 0, changeframecount = 2; -uint8_t rotatevga[8][256]; int frames = 0; int fullchange = 0; uint8_t edatlookup[4][4]; @@ -644,7 +643,7 @@ create_bitmap(int x, int y) void video_init(void) { - int c, d, e; + int c, d; uint8_t total[2] = { 0, 1 }; for (c = 0; c < 16; c++) { @@ -668,13 +667,6 @@ video_init(void) cgapal[c + 128].b = (((c & 1) ? 2 : 0) | ((c & 0x08) ? 1 : 0)) * 21; } - for (c = 0; c < 256; c++) { - e = c; - for (d = 0; d < 8; d++) { - rotatevga[d][c] = e; - e = (e >> 1) | ((e & 1) ? 0x80 : 0); - } - } for (c = 0; c < 4; c++) { for (d = 0; d < 4; d++) { edatlookup[c][d] = 0;