Permalink
Browse files
DS GX: Don't reset state between swaps (fixes #642)
- Loading branch information...
Showing
with
1 addition
and
6 deletions.
-
+1
−1
CHANGES
-
+0
−5
src/ds/gx.c
|
|
@@ -10,14 +10,14 @@ Bugfixes: |
|
|
- DS Video: Capture with alpha bit set
|
|
|
- DS Video: Bitmap sprites use alpha bit for transparent
|
|
|
- DS GX: Fix 4-color texture coordinates
|
|
|
- - DS GX: Reset polygon attributes between buffer swaps
|
|
|
- DS Video: Fix blend bit on windows for 3D layer (fixes mgba.io/i/611)
|
|
|
- DS GX: Hack around writing to a full FIFO that has a swap pending (fixes mgba.io/i/608)
|
|
|
- DS Video: Enable overflow bit on extended affine modes
|
|
|
- DS Video: Fix extended mode 0 without extended palettes
|
|
|
- DS Video: Fix caputre stride
|
|
|
- DS Video: Fix affine transformations in video capture
|
|
|
- DS GX: Fix bitmap textures when no palette is mapped (fixes mgba.io/i/628)
|
|
|
+ - DS GX: Don't reset state between buffer swaps (fixes mgba.io/i/642)
|
|
|
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
|
|
|
|
|
|
@@ -1172,11 +1172,6 @@ static void _fifoRun(struct mTiming* timing, void* context, uint32_t cyclesLate) |
|
|
case DS_GX_CMD_SWAP_BUFFERS:
|
|
|
gx->swapBuffers = true;
|
|
|
gx->wSort = entry.params[0] & 2;
|
|
|
- memset(&gx->currentVertex, 0, sizeof(gx->currentVertex));
|
|
|
- memset(&gx->nextPoly, 0, sizeof(gx-> nextPoly));
|
|
|
- gx->currentVertex.color = 0x7FFF;
|
|
|
- gx->currentPoly.polyParams = 0x001F00C0;
|
|
|
- gx->nextPoly.polyParams = 0x001F00C0;
|
|
|
break;
|
|
|
case DS_GX_CMD_VIEWPORT:
|
|
|
gx->viewportX1 = (uint8_t) entry.params[0];
|
|
|
|
0 comments on commit
1882b15