mirror of https://github.com/mgba-emu/mgba.git
GB Core: Fix toggling WIN and OBJ being swapped
This commit is contained in:
parent
64f42590a7
commit
9ec3b15f47
1
CHANGES
1
CHANGES
|
@ -27,6 +27,7 @@ Other fixes:
|
|||
- CMake: Fix .deb imagemagick dependencies
|
||||
- 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)
|
||||
- GB Core: Fix toggling WIN and OBJ being swapped
|
||||
Misc:
|
||||
- GBA Savedata: EEPROM performance fixes
|
||||
- GBA Savedata: Automatically map 1Mbit Flash files as 1Mbit Flash
|
||||
|
|
|
@ -803,10 +803,10 @@ static void _GBCoreEnableVideoLayer(struct mCore* core, size_t id, bool enable)
|
|||
gb->video.renderer->disableBG = !enable;
|
||||
break;
|
||||
case 1:
|
||||
gb->video.renderer->disableOBJ = !enable;
|
||||
gb->video.renderer->disableWIN = !enable;
|
||||
break;
|
||||
case 2:
|
||||
gb->video.renderer->disableWIN = !enable;
|
||||
gb->video.renderer->disableOBJ = !enable;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue