GBA Video: Remove unused bits

This commit is contained in:
Jeffrey Pfau 2016-01-04 00:51:45 -08:00
parent 4b50e268da
commit 0f7449d9f3
3 changed files with 0 additions and 5 deletions

View File

@ -729,8 +729,6 @@ static void GBAVideoSoftwareRendererWriteBLDCNT(struct GBAVideoSoftwareRenderer*
renderer->target2Obj = GBARegisterBLDCNTGetTarget2Obj(value); renderer->target2Obj = GBARegisterBLDCNTGetTarget2Obj(value);
renderer->target2Bd = GBARegisterBLDCNTGetTarget2Bd(value); renderer->target2Bd = GBARegisterBLDCNTGetTarget2Bd(value);
renderer->anyTarget2 = value & 0x3F00;
if (oldEffect != renderer->blendEffect) { if (oldEffect != renderer->blendEffect) {
_updatePalettes(renderer); _updatePalettes(renderer);
} }

View File

@ -131,7 +131,6 @@ struct GBAVideoSoftwareRenderer {
enum BlendEffect blendEffect; enum BlendEffect blendEffect;
color_t normalPalette[512]; color_t normalPalette[512];
color_t variantPalette[512]; color_t variantPalette[512];
int anyTarget2;
uint16_t blda; uint16_t blda;
uint16_t bldb; uint16_t bldb;

View File

@ -38,8 +38,6 @@ enum {
VIDEO_TOTAL_LENGTH = VIDEO_HORIZONTAL_LENGTH * VIDEO_VERTICAL_TOTAL_PIXELS, VIDEO_TOTAL_LENGTH = VIDEO_HORIZONTAL_LENGTH * VIDEO_VERTICAL_TOTAL_PIXELS,
REG_DISPSTAT_MASK = 0xFF38,
BASE_TILE = 0x00010000 BASE_TILE = 0x00010000
}; };