all repos — mgba @ cbc805b1943edef579f4a938edbdc90d72aac391

mGBA Game Boy Advance Emulator

DS GX: Fix large textures wrapping
Vicki Pfau vi@endrift.com
Wed, 26 Apr 2017 00:47:49 -0700
commit

cbc805b1943edef579f4a938edbdc90d72aac391

parent

f32fbd737fee9defcfbbb73a386685f936eeaae5

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

jump to
M CHANGESCHANGES

@@ -27,6 +27,7 @@ - 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) - DS Timers: Fix ARM9 timers running too fast - DS GX: Fix DMAs triggering too frequently (fixes mgba.io/i/620, mgba.io/i/583) + - DS GX: Fix large textures wrapping 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
M src/ds/gx/software.csrc/ds/gx/software.c

@@ -133,7 +133,7 @@ } else {

t &= poly->texH - 1; } - uint16_t texelCoord = s + t * poly->texW; + unsigned texelCoord = s + t * poly->texW; uint8_t ta = 0x1F; uint8_t pa = DSGXPolygonAttrsGetAlpha(poly->polyParams); if (pa) {