#include <memory>
#include "os/binstream.h"
#include "os/prnstream.h"
Go to the source code of this file.
|
| class | Debug |
| | Stream for diagnostic text, written to standard output or to a log file. More...
|
|
| void | DebugPrint (const char *pszFormat,...) |
| | Format a diagnostic message that the shipped build discards.
|
| void | DebugWarn (const char *pszFormat,...) |
| | Format a warning that the shipped build discards.
|
| void | DebugNotify (const char *pszFormat,...) |
| | Format a notice that the shipped build discards.
|
| void | DebugError (const char *pszFormat,...) |
| | Format an error that the shipped build discards.
|
◆ DebugPrint()
| void DebugPrint |
( |
const char * | pszFormat, |
|
|
| ... ) |
Format a diagnostic message that the shipped build discards.
The body is empty. Each of the 140 call sites still evaluates its arguments and makes the call.
- Parameters
-
| pszFormat | The printf format. |
- Ghidra address:
- NTSC-U/C: 0x00333b08
- Ghidra address:
- PAL: 0x003a10b8
◆ DebugWarn()
| void DebugWarn |
( |
const char * | pszFormat, |
|
|
| ... ) |
Format a warning that the shipped build discards.
The body is empty. Each of the 159 call sites still evaluates its arguments and makes the call. The callers pass messages about invalid data and unsupported requests. The name is inferred.
- Parameters
-
| pszFormat | The printf format. |
- Ghidra address:
- NTSC-U/C: 0x00333d50
- Ghidra address:
- PAL: 0x003a1300
◆ DebugNotify()
| void DebugNotify |
( |
const char * | pszFormat, |
|
|
| ... ) |
Format a notice that the shipped build discards.
The body is empty. The callers pass reports of missing data, skipped objects, and failed loads. The name is inferred.
- Parameters
-
| pszFormat | The printf format. |
- Ghidra address:
- NTSC-U/C: 0x00339f48
- Ghidra address:
- PAL: 0x003a7480
◆ DebugError()
| void DebugError |
( |
const char * | pszFormat, |
|
|
| ... ) |
Format an error that the shipped build discards.
The body is empty. The callers pass errors in the song files and the start-up configuration that no error handler takes. The name is inferred.
- Parameters
-
| pszFormat | The printf format. |
- Ghidra address:
- NTSC-U/C: 0x00339f80
- Ghidra address:
- PAL: 0x003a74b8
◆ TheDebug
The diagnostic stream.
- Ghidra address:
- NTSC-U/C: 0x0047fa78