mirror of https://github.com/mgba-emu/mgba.git
DS Video: Capture with alpha bit set
This commit is contained in:
parent
9676ea17a8
commit
a01feb2909
1
CHANGES
1
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)
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue