But for me, no text at all from printf. Neither onscreen, nor in the console.
Tomorrow I'm going to dump my NAND and see if it helps. I'll let you know if I manage to fix my issue.
(04-22-2009, 07:21 AM)omegadox Wrote: [ -> ]It should show with XFB (remember XFB does not work without DC mode enabled), I have gotten Wii HB programs to run in Dolphin. Some gamecube ones will flicker, because they need interlacing enabled (enabled by default in HW).
er, XFB works either way here...
Also, take a look at dolphin's TestSuite, here is the PAD test running in single core, with XFB :p
notice how the statusbar doesn't work, and also if you look at the code, it is using cout.
BTW, I just posted a thread in the support section about a fix to make the FPS counter update when using XFB in single-core mode.
EDIT: you're running a Gamecube homebrew. My problem is with Wii text homebrews.
I believe I just need a NAND dump. I think the font data used to display text with printf is part of the NAND. Am I wrong?
uh...printf also works fine in wii homebrew. currently i write homebrew and run it in dolphin to work on the sd card interface. works fine
(04-22-2009, 09:08 AM)shuffle2 Wrote: [ -> ] (04-22-2009, 07:21 AM)omegadox Wrote: [ -> ]It should show with XFB (remember XFB does not work without DC mode enabled), I have gotten Wii HB programs to run in Dolphin. Some gamecube ones will flicker, because they need interlacing enabled (enabled by default in HW).
er, XFB works either way here...
Also, take a look at dolphin's TestSuite, here is the PAD test running in single core, with XFB :p
notice how the statusbar doesn't work, and also if you look at the code, it is using cout.
Look at the XFB code, when mb2 was fixing it for DC, the XFB code only executes for DC, unless someone fixed that. I think this was only an issue on the Wii emulation side. I would have to re-read the code and check again.
I just dumped my NAND and I'm going to extract it. We'll see.
EDIT: NAND dump successful, placed the files at the right place, without overwriting SYSCONF. Still no calls to printf detected. I start believing Dolphin hates me

At least I can now boot the Wii menu

I finally figured out the problem: printf works, but only if I load an ELF file. If I load a DOL, printf doesn't work.
Now, it works! When I load a DOL, printf prints text onscreen, and when I load an ELF, it prints text in the console.
I suggest we add an option to redirect printf or not. Or even better, we could detect when printf is called, but not redirect it,
so the text would appear both onscreen as expected and in the console.
makes sense, elf files have symbols and dols don't