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 > baffled...

#50135 - blaisef01 - Fri Aug 05, 2005 9:24 pm

Hi,

I recently download DevKitARM v15 and the updated libnds.
I compiled my code, seems to work fine but now the top and bottom screens have swop [i'm running this on hardware]

All my code works on the principle that the sub screen is the touch screen, has this changed... hell i'm confused...

#50138 - strager - Fri Aug 05, 2005 10:11 pm

That's because POWER_SWAP_LCD is set by the firmware by default. Many coders depended on this, like you did. All you need is a simple call to the lcdSwap() function.

#50142 - blaisef01 - Fri Aug 05, 2005 10:37 pm

Cheers dude,

I was just about to go through my code and start swapping all calls to BG_PALETTE_SUB and the like, which would not have been fun.