mirror of https://github.com/mgba-emu/mgba.git
DS GX: Fix T-repeat textures (fixes #577)
This commit is contained in:
parent
3f71924c34
commit
9676ea17a8
1
CHANGES
1
CHANGES
|
@ -2,6 +2,7 @@ medusa alpha 2: (Future)
|
|||
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)
|
||||
Misc:
|
||||
- DS: Set boot complete bit in RAM on boot (fixes mgba.io/i/576, mgba.io/i/580, mgba.io/i/586)
|
||||
|
||||
|
|
|
@ -122,7 +122,7 @@ static color_t _lookupColor(struct DSGXSoftwareRenderer* renderer, struct DSGXSo
|
|||
if (t < 0) {
|
||||
t = 0;
|
||||
} else if (t >= poly->texH) {
|
||||
t = poly->texW - 1;
|
||||
t = poly->texH - 1;
|
||||
}
|
||||
} else if (DSGXTexParamsIsTMirror(poly->texParams)) {
|
||||
if (t & poly->texH) {
|
||||
|
|
Loading…
Reference in New Issue