Page 1 of 1

libnds: WIN1_X0/1 swapped

Posted: Sun Mar 23, 2008 9:15 am
by Invertigo
The following applies to libnds 20071023.

I noticed a simple mistake on lines 445 and 446 of nds/arm9/video.h:

Code: Select all

#define WIN1_X0        (*(vuint8*)0x04000042)
#define WIN1_X1        (*(vuint8*)0x04000043)
These two lines should instead read:

Code: Select all

#define WIN1_X0        (*(vuint8*)0x04000043)
#define WIN1_X1        (*(vuint8*)0x04000042)
The two addresses should be swapped to reflect the ordering of the rest of the window-related defines.

Re: libnds: WIN1_X0/1 swapped

Posted: Wed Apr 30, 2008 11:28 am
by joseluisjazz
[edited by the author] Reason: no relevant new info.

Re: libnds: WIN1_X0/1 swapped

Posted: Tue Jul 15, 2008 5:07 am
by dovoto
Corrected in the CVS (some time in the past)