Console printing is broken in libnds 1.4.4
Posted: Sun Jul 25, 2010 5:24 pm
Console printing is broken since updating libnds to v1.4.4, i.e. printed text does not show up on screen.
This applies for the arm9 template and many examples.
I checked the recent changes and saw the call to setvbuf was removed for stdout.
Readding the line (inside main.c of my project) makes printing work again.
Patch submitted under: https://sourceforge.net/tracker/?func=d ... tid=668553
This applies for the arm9 template and many examples.
I checked the recent changes and saw the call to setvbuf was removed for stdout.
Readding the line (inside main.c of my project) makes printing work again.
Code: Select all
#include <nds.h>
#include <stdio.h>
int main(void)
{
consoleDemoInit();
// Uncomment this line to make printing work again:
//setvbuf(stdout, NULL , _IONBF, 0);
iprintf("Hello World!");
while(1) {
swiWaitForVBlank();
}
}