mirror of https://github.com/mgba-emu/mgba.git
GBA Video: Fix wrong palette on 256-color sprites in OBJWIN
This commit is contained in:
parent
eec4ed3c1e
commit
7dfa195e53
1
CHANGES
1
CHANGES
|
@ -13,6 +13,7 @@ Bugfixes:
|
||||||
- GBA I/O: Handle audio registers specially when deserializing
|
- GBA I/O: Handle audio registers specially when deserializing
|
||||||
- Util: Fix highest-fd socket not being returned by SocketAccept
|
- Util: Fix highest-fd socket not being returned by SocketAccept
|
||||||
- Qt: Fix linking after some windows have been closed
|
- Qt: Fix linking after some windows have been closed
|
||||||
|
- GBA Video: Fix wrong palette on 256-color sprites in OBJWIN
|
||||||
Misc:
|
Misc:
|
||||||
- Qt: Improved HiDPI support
|
- Qt: Improved HiDPI support
|
||||||
- Feature: Support ImageMagick 7
|
- Feature: Support ImageMagick 7
|
||||||
|
|
|
@ -317,7 +317,6 @@ int GBAVideoSoftwareRendererPreprocessSprite(struct GBAVideoSoftwareRenderer* re
|
||||||
SPRITE_NORMAL_LOOP(256, OBJWIN);
|
SPRITE_NORMAL_LOOP(256, OBJWIN);
|
||||||
} else if (mosaicH > 1) {
|
} else if (mosaicH > 1) {
|
||||||
if (objwinSlowPath) {
|
if (objwinSlowPath) {
|
||||||
objwinPalette = &objwinPalette[GBAObjAttributesCGetPalette(sprite->c) << 4];
|
|
||||||
SPRITE_MOSAIC_LOOP(256, NORMAL_OBJWIN);
|
SPRITE_MOSAIC_LOOP(256, NORMAL_OBJWIN);
|
||||||
} else {
|
} else {
|
||||||
SPRITE_MOSAIC_LOOP(256, NORMAL);
|
SPRITE_MOSAIC_LOOP(256, NORMAL);
|
||||||
|
|
Loading…
Reference in New Issue