diff --git a/CHANGES b/CHANGES index af91cf03c..3dd7b46cd 100644 --- a/CHANGES +++ b/CHANGES @@ -29,6 +29,7 @@ Bugfixes: - 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 diff --git a/src/gba/renderers/software-obj.c b/src/gba/renderers/software-obj.c index f3ee2bd49..71a409f04 100644 --- a/src/gba/renderers/software-obj.c +++ b/src/gba/renderers/software-obj.c @@ -317,7 +317,6 @@ int GBAVideoSoftwareRendererPreprocessSprite(struct GBAVideoSoftwareRenderer* re 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);