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)
Code: Select all
#define WIN1_X0 (*(vuint8*)0x04000043)
#define WIN1_X1 (*(vuint8*)0x04000042)