mirror of https://github.com/mgba-emu/mgba.git
DS GX: Fix large textures wrapping
This commit is contained in:
parent
f32fbd737f
commit
cbc805b194
1
CHANGES
1
CHANGES
|
@ -27,6 +27,7 @@ Bugfixes:
|
||||||
- DS GX: Retain translucent polygon ID when drawing opaque fragments (fixes mgba.io/i/661)
|
- DS GX: Retain translucent polygon ID when drawing opaque fragments (fixes mgba.io/i/661)
|
||||||
- DS Timers: Fix ARM9 timers running too fast
|
- 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 DMAs triggering too frequently (fixes mgba.io/i/620, mgba.io/i/583)
|
||||||
|
- DS GX: Fix large textures wrapping
|
||||||
Misc:
|
Misc:
|
||||||
- DS: Set boot complete bit in RAM on boot (fixes mgba.io/i/576, mgba.io/i/580, mgba.io/i/586)
|
- 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
|
- DS Memory: Ensure DS9 I/O is 8-byte aligned
|
||||||
|
|
|
@ -133,7 +133,7 @@ static color_t _lookupColor(struct DSGXSoftwareRenderer* renderer, struct DSGXSo
|
||||||
t &= poly->texH - 1;
|
t &= poly->texH - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint16_t texelCoord = s + t * poly->texW;
|
unsigned texelCoord = s + t * poly->texW;
|
||||||
uint8_t ta = 0x1F;
|
uint8_t ta = 0x1F;
|
||||||
uint8_t pa = DSGXPolygonAttrsGetAlpha(poly->polyParams);
|
uint8_t pa = DSGXPolygonAttrsGetAlpha(poly->polyParams);
|
||||||
if (pa) {
|
if (pa) {
|
||||||
|
|
Loading…
Reference in New Issue