libnds: WIN1_X0/1 swapped

Post Reply
Invertigo
Posts: 1
Joined: Sun Mar 23, 2008 9:08 am

libnds: WIN1_X0/1 swapped

Post by Invertigo » Sun Mar 23, 2008 9:15 am

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.

joseluisjazz
Posts: 2
Joined: Wed Apr 30, 2008 11:18 am

Re: libnds: WIN1_X0/1 swapped

Post by joseluisjazz » Wed Apr 30, 2008 11:28 am

[edited by the author] Reason: no relevant new info.

dovoto
Developer
Posts: 43
Joined: Fri Aug 12, 2005 10:01 pm
Contact:

Re: libnds: WIN1_X0/1 swapped

Post by dovoto » Tue Jul 15, 2008 5:07 am

Corrected in the CVS (some time in the past)

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests