|
sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
|
Go to the source code of this file.
Typedefs | |
| typedef void(*) | crashscreen_hook_t(const char *report) |
Functions | |
| void | crashscreen_install (void) |
| void | crashscreen_remove (void) |
| void | crashscreen_set_hook (crashscreen_hook_t hook) |
| void | crashscreen_set_chain (int enable) |
| void | crashscreen_abort (const char *reason) __attribute__((noreturn)) |
Crash screen: reports an uncaught C++ exception or a CPU exception on screen and on the DECI2 console.
Definition in file crashscreen.h.
| typedef void(*) crashscreen_hook_t(const char *report) |
Called with the full report text after it is drawn, before the program halts.
Definition at line 15 of file crashscreen.h.
| void crashscreen_abort | ( | const char * | reason | ) |
Shows the crash screen with the given reason and halts. Does not return.
Definition at line 452 of file crashscreen.c.
| void crashscreen_install | ( | void | ) |
Installs the CPU exception handlers and the std::terminate handler. Done by the startup code.
Definition at line 473 of file crashscreen.c.
| void crashscreen_remove | ( | void | ) |
Restores the handlers that were in place before crashscreen_install.
Definition at line 492 of file crashscreen.c.
| void crashscreen_set_chain | ( | int | enable | ) |
When enabled, a CPU exception is handed to the handler that was installed before crashscreen_install (for example ps2link's) after the report is shown.
Definition at line 463 of file crashscreen.c.
| void crashscreen_set_hook | ( | crashscreen_hook_t | hook | ) |
Sets a function called with the report once it has been shown. Pass NULL to clear it.
Definition at line 468 of file crashscreen.c.