Permalink
Browse files
DS GX: Retain translucent polygon ID when drawing opaque fragments (f…
- Loading branch information...
Showing
with
3 additions
and
1 deletion.
-
+1
−0
CHANGES
-
+2
−1
src/ds/gx/software.c
|
|
@@ -24,6 +24,7 @@ Bugfixes: |
|
|
- DS: Fix exposed CPU frequencies and audio timing
|
|
|
- DS Audio: Fix audio sampling slightly too quickly
|
|
|
- Feature: Fix resizing GIF buffer (fixes mgba.io/i/695)
|
|
|
+ - DS GX: Retain translucent polygon ID when drawing opaque fragments (fixes mgba.io/i/661)
|
|
|
Misc:
|
|
|
- DS: Set boot complete bit in RAM on boot (fixes mgba.io/i/576, mgba.io/i/580, mgba.io/i/586)
|
|
|
- DS Memory: Ensure DS9 I/O is 8-byte aligned
|
|
|
|
|
|
@@ -645,7 +645,8 @@ static void _drawSpan(struct DSGXSoftwareRenderer* softwareRenderer, struct DSGX |
|
|
if (a == 0x1F) {
|
|
|
depth[x] = span->ep[0].coord[softwareRenderer->sort];
|
|
|
scanline[x] = color;
|
|
|
- stencil[x] = s & 0x3F00;
|
|
|
+ stencil[x] &= 0x00FF;
|
|
|
+ stencil[x] |= s & 0x3F00;
|
|
|
} else if (a) {
|
|
|
// TODO: Disable alpha?
|
|
|
if (b) {
|
|
|
|
0 comments on commit
fd7d85c