GB Core: Fix toggling WIN and OBJ being swapped
Vicki Pfau vi@endrift.com
Mon, 22 Apr 2019 12:18:06 -0700
2 files changed,
3 insertions(+),
2 deletions(-)
M
CHANGES
→
CHANGES
@@ -27,6 +27,7 @@ - Qt: Fix saved scale not getting set on resize (fixes mgba.io/i/1074)
- 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
M
src/gb/core.c
→
src/gb/core.c
@@ -803,10 +803,10 @@ case 0:
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;