From b6ba86f4cba4455388f29facf08facafc90e09f3 Mon Sep 17 00:00:00 2001 From: AJR Date: Tue, 5 Nov 2019 18:59:06 -0500 Subject: Fix clang error: unused variable 'table_obj_offset' [-Werror,-Wunused-const-variable] (nw) --- src/devices/video/snes_ppu.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/devices/video/snes_ppu.cpp b/src/devices/video/snes_ppu.cpp index ad2493c4735..827e05ed429 100644 --- a/src/devices/video/snes_ppu.cpp +++ b/src/devices/video/snes_ppu.cpp @@ -160,18 +160,6 @@ //static const uint16_t dbg_mode_colours[8] = { 0x1f, 0x3e0, 0x7c00, 0x7c1f, 0x3ff, 0x7fe0, 0x4210, 0x7fff }; #endif /* SNES_LAYER_DEBUG */ -static const uint16_t table_obj_offset[8][8] = -{ - { (0*32), (0*32)+32, (0*32)+64, (0*32)+96, (0*32)+128, (0*32)+160, (0*32)+192, (0*32)+224 }, - { (16*32), (16*32)+32, (16*32)+64, (16*32)+96, (16*32)+128, (16*32)+160, (16*32)+192, (16*32)+224 }, - { (32*32), (32*32)+32, (32*32)+64, (32*32)+96, (32*32)+128, (32*32)+160, (32*32)+192, (32*32)+224 }, - { (48*32), (48*32)+32, (48*32)+64, (48*32)+96, (48*32)+128, (48*32)+160, (48*32)+192, (48*32)+224 }, - { (64*32), (64*32)+32, (64*32)+64, (64*32)+96, (64*32)+128, (64*32)+160, (64*32)+192, (64*32)+224 }, - { (80*32), (80*32)+32, (80*32)+64, (80*32)+96, (80*32)+128, (80*32)+160, (80*32)+192, (80*32)+224 }, - { (96*32), (96*32)+32, (96*32)+64, (96*32)+96, (96*32)+128, (96*32)+160, (96*32)+192, (96*32)+224 }, - { (112*32), (112*32)+32, (112*32)+64, (112*32)+96, (112*32)+128, (112*32)+160, (112*32)+192, (112*32)+224 } -}; - enum { -- cgit v1.2.3