all repos — mgba @ e0c2b3d68272e6c059f0f62f66f15756a27ce590

mGBA Game Boy Advance Emulator

GBA Video: Fix wrong palette on 256-color sprites in OBJWIN
Vicki Pfau vi@endrift.com
Fri, 03 Mar 2017 18:51:50 -0800
commit

e0c2b3d68272e6c059f0f62f66f15756a27ce590

parent

ba3b068df4a8fcb34c66b1bc5725a205a36d5807

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

jump to
M CHANGESCHANGES

@@ -29,6 +29,7 @@ - Tools: Fix recurring multiple times over the same library

- GBA I/O: Handle audio registers specially when deserializing - Util: Fix highest-fd socket not being returned by SocketAccept - Qt: Fix linking after some windows have been closed + - GBA Video: Fix wrong palette on 256-color sprites in OBJWIN Misc: - SDL: Remove scancode key input - GBA Video: Clean up unused timers
M src/gba/renderers/software-obj.csrc/gba/renderers/software-obj.c

@@ -317,7 +317,6 @@ if (flags & FLAG_OBJWIN) {

SPRITE_NORMAL_LOOP(256, OBJWIN); } else if (mosaicH > 1) { if (objwinSlowPath) { - objwinPalette = &objwinPalette[GBAObjAttributesCGetPalette(sprite->c) << 4]; SPRITE_MOSAIC_LOOP(256, NORMAL_OBJWIN); } else { SPRITE_MOSAIC_LOOP(256, NORMAL);