DS Video: Capture with alpha bit set
Vicki Pfau vi@endrift.com
Mon, 10 Apr 2017 01:45:48 -0700
2 files changed,
2 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -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)
M
src/ds/video.c
→
src/ds/video.c
@@ -267,6 +267,7 @@ pixel = (colorA >> 9) & 0x7C00;
pixel |= (colorA >> 6) & 0x03E0; pixel |= (colorA >> 3) & 0x001F; #endif + pixel |= 0x8000; STORE_16(pixel, ((x + y * DS_VIDEO_HORIZONTAL_PIXELS) * 2 + base) & 0x1FFFE, vram); } }