gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > NDSLib Nightmares.... BG B*stardry

#43538 - blaisef01 - Tue May 24, 2005 8:30 am

NDSLib:

There's a mistake in NDS\ARM9\video.h.
The background size defines are the wrong way round.

#define BG_32x64 (1 << 14)
#define BG_64x32 (2 << 14)

should be

#define BG_64x32 (1 << 14)
#define BG_32x64 (2 << 14)

I wish i'd worked this out 3 hours before completely destroying my attempt at what would have been some nice BG scrolling code :(

#43551 - dovoto - Tue May 24, 2005 3:37 pm

oops
_________________
www.drunkencoders.com

#43571 - dagamer34 - Tue May 24, 2005 8:32 pm

dovoto wrote:
oops


Lol. :)
_________________
Little kids and Playstation 2's don't mix. :(

#43598 - blaisef01 - Wed May 25, 2005 1:03 am

Hehe, these things happen