resonance 1.0.1
Loading...
Searching...
No Matches
log.h File Reference
#include <stdarg.h>
Include dependency graph for log.h:

Go to the source code of this file.

Functions

void ShowScreenMessage (const char *pszText, int nDuration)
 Show a message for a while, rather than writing it to the console.

Function Documentation

◆ ShowScreenMessage()

void ShowScreenMessage ( const char * pszText,
int nDuration )

Show a message for a while, rather than writing it to the console.

The body of this routine is a bare return in the shipped build. None of the three messages that go through it therefore ever appears. The reconstruction retains the call sites because the strings and the calls are both in the image. The routine sits in the debug console unit, between Gs_Initialize() and InitDevConsole(), and devconsole.cpp defines it.

The text is already formatted at every call site, so the routine is not variadic. Both the name and the second argument's unit are inferred: the three callers pass a duration of 300, 600, and a forwarded parameter, and the image does not identify the routine or the value.

Parameters
pszTextThe message.
nDurationHow long to show it.
Ghidra address:
NTSC-U/C: 0x005e5ed0
Ghidra address:
PAL: 0x00628090