You are not logged in.

Read the FAQ and Knowledge Base before posting.
We won't make a 3DS/2DS emulator.

#1 Re: Compatibility » devkitPro and homebrew compatibility notes » 2011-08-29 21:17:11

Thanks for going above and beyond my expectations with this. The truth is, I was just happy to have found a means to see the output.  :-)

I have to run in dev mode to simulate FAT support, anyway.

By the way, I got Boost (C++ library) unit tests to run and print summary output. Because I couldn't write main myself, I had to use a static variable's destructor (!) to perform the infinite loop at the end, after main exits.

#2 Re: Compatibility » devkitPro and homebrew compatibility notes » 2011-07-20 19:53:49

I was finally able to get the output to display by running DeSmuME_dev.exe from a Command Prompt.  It did not work from a Cygwin bash shell, nor did it work from an Eclipse Run Configuration.  I must use Command Prompt only.

Is this odd?

#3 Re: Compatibility » devkitPro and homebrew compatibility notes » 2011-07-20 01:27:41

Hello, I'm running DeSmuME_dev.exe (0.9.7 dev+ x86) under Windows on my homebrew .nds file.  Where do I find the "nocash debug prints"?  They don't appear in the console used to launch DeSmuME_dev.  I even tried using the 8MB debugger under the Emulation Settings.

Here is a snippet of the code I'm using to generate the output:

    consoleDemoInit();
    consoleDebugInit(DebugDevice_NOCASH);
    // ...
    std::cerr << "This message went to std::cerr.\n";
    fiprintf(stderr, "This message went to stderr.\n");

It compiles, but I can't find "This message..." anywhere.  Thanks for reading.

Edit: I made the version more specific.
Edit: I added a fiprintf call, still couldn't find its output.
Edit: Added newline to fiprintf call.

Board footer

Powered by FluxBB