DS Video: Capture with alpha bit set

This commit is contained in:
Vicki Pfau 2017-04-10 01:45:48 -07:00
parent 9676ea17a8
commit a01feb2909
2 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@ Bugfixes:
- DS Video: Fix VRAM mirroring in the renderer (fixes mgba.io/i/561)
- DS Video: Fix extended modes 1.x screen base range (fixes mgba.io/i/568)
- DS GX: Fix T-repeat textures (fixes mgba.io/i/577)
- DS Video: Capture with alpha bit set
Misc:
- DS: Set boot complete bit in RAM on boot (fixes mgba.io/i/576, mgba.io/i/580, mgba.io/i/586)

View File

@ -267,6 +267,7 @@ static void _performCapture(struct DSVideo* video, int y) {
pixel |= (colorA >> 6) & 0x03E0;
pixel |= (colorA >> 3) & 0x001F;
#endif
pixel |= 0x8000;
STORE_16(pixel, ((x + y * DS_VIDEO_HORIZONTAL_PIXELS) * 2 + base) & 0x1FFFE, vram);
}
}