#173582 - Pete_Lockwood - Sat Apr 17, 2010 11:18 pm
Quickie.. What's the 2010 equivalent of the following:
consoleInitDefault((u16*)SCREEN_BASE_BLOCK_SUB(31), (u16*)CHAR_BASE_BLOCK_SUB(0), 16);
??
_________________
It's not an illusion, it just looks like one.
#173583 - Lazy1 - Sun Apr 18, 2010 12:19 am
consoleInit( NULL, 0, BgType_Text4bpp, BgSize_T_256x256, 0, 1, true, true );
#173592 - SteveH - Sun Apr 18, 2010 1:06 pm
actually it's just:
consoleInitDefault();
IIRC
#173594 - vuurrobin - Sun Apr 18, 2010 2:01 pm
use
Code: |
PrintConsole* consoleDemoInit(void); |
if you want to just print text, or
Code: |
PrintConsole* consoleInit(PrintConsole* console, int layer, BgType type, BgSize size, int mapBase, int tileBase, bool mainDisplay, bool loadGraphics); |
if you want to customise it.
http://libnds.devkitpro.org/a00068.html
_________________
my blog:
http://vuurrobin.100webcustomers.com/
#173595 - Lazy1 - Sun Apr 18, 2010 3:21 pm
Oh, oops I somehow skipped over the _SUB stuff.
In which case you'd just change the second last parameter to false, console.h has more details but any method posted here will work fine.
#173596 - Pete_Lockwood - Sun Apr 18, 2010 3:24 pm
:D
OK, panic's over.
ty all.
_________________
It's not an illusion, it just looks like one.