From a01feb2909e2053c8b7ebccaa679d44c63e0bd35 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Mon, 10 Apr 2017 01:45:48 -0700 Subject: [PATCH] DS Video: Capture with alpha bit set --- CHANGES | 1 + src/ds/video.c | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES b/CHANGES index ec2d09fb3..f8aa5b761 100644 --- a/CHANGES +++ b/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) diff --git a/src/ds/video.c b/src/ds/video.c index 4fcd59bfa..ca1c98a1f 100644 --- a/src/ds/video.c +++ b/src/ds/video.c @@ -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); } }