mirror of https://github.com/mgba-emu/mgba.git
GBA Video: Remove unused bits
This commit is contained in:
parent
4b50e268da
commit
0f7449d9f3
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue