all repos — mgba @ e52001e406bd8d273ba887b2e0f5b347cc71af26

mGBA Game Boy Advance Emulator

GBA SIO: Fix layout of normalControl struct in siocnt union
Grant Iraci grantira@buffalo.edu
Tue, 17 Jan 2017 14:27:24 -0500
commit

e52001e406bd8d273ba887b2e0f5b347cc71af26

parent

9942c1d44440d22ad0e7fd5ec58b3bdbe4efd92d

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

jump to
M include/mgba/internal/gba/sio.hinclude/mgba/internal/gba/sio.h

@@ -54,9 +54,9 @@ unsigned sc : 1;

unsigned internalSc : 1; unsigned si : 1; unsigned idleSo : 1; - unsigned : 4; - unsigned start : 1; unsigned : 3; + unsigned start : 1; + unsigned : 4; unsigned length : 1; unsigned : 1; unsigned irq : 1;