Search found 2 matches

by Antonz
Sun Jan 04, 2009 9:32 pm
Forum: DS/DSi Development
Topic: arm9/background.c question (1.3.1)
Replies: 1
Views: 2941

arm9/background.c question (1.3.1)

What is "const char* BgUsage" in background.c and for what reason it's here? It seems unused and only taking space in executable. :roll:
by Antonz
Thu Dec 25, 2008 10:16 am
Forum: Bug Reports
Topic: libnds: Typo bug in version 1.3.1 in background.h
Replies: 1
Views: 3798

libnds: Typo bug in version 1.3.1 in background.h

include/nds/arm9/background.h:546 : void bgSet(int id, int angle, s32 sx, s32 sy, s32 scrollX, s32 scrollY, s32 rotCenterX, s32 rotCenterY) { bgState[id].scaleX = sx; bgState[id].scaleY = sy; bgState[id].scrollX = scrollX; bgState[id].scrollY = scrollX; // <---- Here bgState[id].centerX = rotCenterX ...