Commit Graph

6 Commits

Author SHA1 Message Date
Johannes Zarl
4829592601 Add support for redirecting or disabling messages from stdout to elsewhere.
The newly introduced procedure wiiuse_set_output can be used to set the FILE*
used for each of the loglevels LOGLEVEL_ERROR, LOGLEVEL_WARNING, LOGLEVEL_INFO,
and LOGLEVEL_DEBUG. Setting the logfile to 0 disables log output for a
loglevel. This adds the macro definition WIIUSE_HAS_OUTPUT_REDIRECTION, so
programs can test for the feature.

The internal log macros in definitions.h all honor this output redirection mechanism.
2011-04-27 08:33:36 -05:00
Johannes Zarl
ca4a38c31c fix doc typo in wiiuse.c. 2011-04-27 08:33:27 -05:00
Ryan Pavlik
8eef1f89dc Fix some crashes by checking pointers before deref 2010-11-11 15:11:27 -06:00
Ryan Pavlik
200778ed32 Modify credit statement to point to new location 2010-11-11 12:38:51 -06:00
Ryan Pavlik
dde5bb965a Improve balance board, use stdint.h 2010-07-22 18:42:04 -05:00
Ryan Pavlik
24b1063e59 Upstream official 0.12 2010-07-22 16:29:25 -05:00