all repos — mgba @ a01feb2909e2053c8b7ebccaa679d44c63e0bd35

mGBA Game Boy Advance Emulator

DS Video: Capture with alpha bit set
Vicki Pfau vi@endrift.com
Mon, 10 Apr 2017 01:45:48 -0700
commit

a01feb2909e2053c8b7ebccaa679d44c63e0bd35

parent

9676ea17a83d97bed55586cbd396afe03b55c3d8

2 files changed, 2 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -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.csrc/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); } }