all repos — mgba @ 0f7449d9f3fa4d5d5bc6ca5b30851aba702f8293

mGBA Game Boy Advance Emulator

GBA Video: Remove unused bits
Jeffrey Pfau jeffrey@endrift.com
Mon, 04 Jan 2016 00:51:45 -0800
commit

0f7449d9f3fa4d5d5bc6ca5b30851aba702f8293

parent

4b50e268dae485658183e50eb0bcd3eb891ce3ed

3 files changed, 0 insertions(+), 5 deletions(-)

jump to
M src/gba/renderers/video-software.csrc/gba/renderers/video-software.c

@@ -729,8 +729,6 @@ renderer->target1Bd = GBARegisterBLDCNTGetTarget1Bd(value);

renderer->target2Obj = GBARegisterBLDCNTGetTarget2Obj(value); renderer->target2Bd = GBARegisterBLDCNTGetTarget2Bd(value); - renderer->anyTarget2 = value & 0x3F00; - if (oldEffect != renderer->blendEffect) { _updatePalettes(renderer); }
M src/gba/renderers/video-software.hsrc/gba/renderers/video-software.h

@@ -131,7 +131,6 @@ unsigned target2Bd;

enum BlendEffect blendEffect; color_t normalPalette[512]; color_t variantPalette[512]; - int anyTarget2; uint16_t blda; uint16_t bldb;
M src/gba/video.hsrc/gba/video.h

@@ -38,8 +38,6 @@ VIDEO_VERTICAL_TOTAL_PIXELS = VIDEO_VERTICAL_PIXELS + VIDEO_VBLANK_PIXELS,

VIDEO_TOTAL_LENGTH = VIDEO_HORIZONTAL_LENGTH * VIDEO_VERTICAL_TOTAL_PIXELS, - REG_DISPSTAT_MASK = 0xFF38, - BASE_TILE = 0x00010000 };