GB Core: Fix toggling WIN and OBJ being swapped

This commit is contained in:
Vicki Pfau 2019-04-22 12:18:06 -07:00
parent 64f42590a7
commit 9ec3b15f47
2 changed files with 3 additions and 2 deletions

View File

@ -27,6 +27,7 @@ Other fixes:
- CMake: Fix .deb imagemagick dependencies - CMake: Fix .deb imagemagick dependencies
- Qt: Fix crash in sprite viewer magnification (fixes mgba.io/i/1362) - Qt: Fix crash in sprite viewer magnification (fixes mgba.io/i/1362)
- 3DS: Ensure core 2 can be used for threaded renderer (fixes mgba.io/i/1371) - 3DS: Ensure core 2 can be used for threaded renderer (fixes mgba.io/i/1371)
- GB Core: Fix toggling WIN and OBJ being swapped
Misc: Misc:
- GBA Savedata: EEPROM performance fixes - GBA Savedata: EEPROM performance fixes
- GBA Savedata: Automatically map 1Mbit Flash files as 1Mbit Flash - GBA Savedata: Automatically map 1Mbit Flash files as 1Mbit Flash

View File

@ -803,10 +803,10 @@ static void _GBCoreEnableVideoLayer(struct mCore* core, size_t id, bool enable)
gb->video.renderer->disableBG = !enable; gb->video.renderer->disableBG = !enable;
break; break;
case 1: case 1:
gb->video.renderer->disableOBJ = !enable; gb->video.renderer->disableWIN = !enable;
break; break;
case 2: case 2:
gb->video.renderer->disableWIN = !enable; gb->video.renderer->disableOBJ = !enable;
break; break;
default: default:
break; break;