all repos — mgba @ 5f05662242ed37f20626e20b5b690a8cd1b7bd07

mGBA Game Boy Advance Emulator

DS Video: Fix display capture blending value 16 (fixes #757)
Vicki Pfau vi@endrift.com
Sun, 16 Jul 2017 17:13:28 -0700
commit

5f05662242ed37f20626e20b5b690a8cd1b7bd07

parent

9dfcef3f45efe580e252ec8bc3852257e9de9fd6

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

jump to
M CHANGESCHANGES

@@ -5,6 +5,7 @@ Bugfixes:

- DS GX: Fix vertex texture transformation (fixes mgba.io/i/702) - DS GX: Automatically normalize winding culling calculations (fixes mgba.io/i/699) - DS GX: Fixed viewport calculations (fixes mgba.io/i/709) + - DS Video: Fix display capture blending value 16 (fixes mgba.io/i/757) Misc: - DS GX: Clean up and unify texture mapping - DS Core: Add symbol loading
M include/mgba/internal/ds/video.hinclude/mgba/internal/ds/video.h

@@ -62,8 +62,8 @@ DECL_BIT(DSRegisterDISPCNT, BgExtPalette, 30);

DECL_BIT(DSRegisterDISPCNT, ObjExtPalette, 31); DECL_BITFIELD(DSRegisterDISPCAPCNT, uint32_t); -DECL_BITS(DSRegisterDISPCAPCNT, EVA, 0, 4); -DECL_BITS(DSRegisterDISPCAPCNT, EVB, 8, 4); +DECL_BITS(DSRegisterDISPCAPCNT, EVA, 0, 8); +DECL_BITS(DSRegisterDISPCAPCNT, EVB, 8, 8); DECL_BITS(DSRegisterDISPCAPCNT, WriteBlock, 16, 2); DECL_BITS(DSRegisterDISPCAPCNT, WriteOffset, 18, 2); DECL_BITS(DSRegisterDISPCAPCNT, CaptureSize, 20, 2);