Go to the source code of this file.
Data Structures | |
struct | CrashScreen |
Macros | |
#define | GLYPH(x, y) (x + (y * 5)) |
Functions | |
INCLUDE_IMG ("crash_screen/font.png", gCrashScreenFont) | |
void | crash_screen_set_assert_info (const char *message) |
void | crash_screen_sleep (s32 ms) |
void | crash_screen_draw_rect (s32 x, s32 y, s32 width, s32 height) |
s32 | crash_screen_draw_glyph (s32 x, s32 y, s32 glyph) |
char * | crash_screen_copy_to_buf (char *dest, const char *src, size_t size) |
s32 | crash_screen_printf (s32 x, s32 y, const char *fmt,...) |
s32 | crash_screen_printf_proportional (s32 x, s32 y, const char *fmt,...) |
void | crash_screen_print_fpr (s32 x, s32 y, s32 regNum, void *addr) |
void | crash_screen_print_fpcsr (u32 value) |
void | crash_screen_draw (OSThread *faultedThread) |
OSThread * | crash_screen_get_faulted_thread (void) |
void | crash_screen_thread_entry (void *unused) |
void | crash_screen_set_draw_info (u16 *frameBufPtr, s16 width, s16 height) |
void | crash_screen_init (void) |
void | crash_screen_printf_with_bg (s16 x, s16 y, const char *fmt,...) |
Variables | |
BSS CrashScreen | gCrashScreen |
u8 | gCrashScreencharToGlyph [128] |
const char * | gFaultCauses [18] |
const char * | gFPCSRFaultCauses [6] |
char | crashScreenAssertMessage [0x100] = {0} |
struct CrashScreen |
Data Fields | ||
---|---|---|
OSThread | thread | |
char | stack[0x800] | |
OSMesgQueue | queue | |
OSMesg | mesg | |
u16 * | frameBuf | |
u16 | width | |
u16 | height |
#define GLYPH | ( | x, | |
y ) (x + (y * 5)) |
Definition at line 33 of file crash_screen.c.
Referenced by crash_screen_draw_glyph(), and crash_screen_init().
INCLUDE_IMG | ( | "crash_screen/font.png" | , |
gCrashScreenFont | ) |
void crash_screen_sleep | ( | s32 | ms | ) |
void crash_screen_draw_rect | ( | s32 | x, |
s32 | y, | ||
s32 | width, | ||
s32 | height ) |
Definition at line 82 of file crash_screen.c.
Referenced by crash_screen_draw(), and crash_screen_printf_with_bg().
s32 crash_screen_draw_glyph | ( | s32 | x, |
s32 | y, | ||
s32 | glyph ) |
Definition at line 107 of file crash_screen.c.
Referenced by crash_screen_printf(), crash_screen_printf_proportional(), and crash_screen_printf_with_bg().
Definition at line 186 of file crash_screen.c.
Referenced by crash_screen_printf(), crash_screen_printf_proportional(), and crash_screen_printf_with_bg().
Definition at line 192 of file crash_screen.c.
Referenced by crash_screen_draw(), crash_screen_print_fpcsr(), and crash_screen_print_fpr().
Definition at line 238 of file crash_screen.c.
Referenced by crash_screen_draw().
Definition at line 283 of file crash_screen.c.
Definition at line 294 of file crash_screen.c.
Definition at line 311 of file crash_screen.c.
Referenced by crash_screen_thread_entry().
Definition at line 417 of file crash_screen.c.
Referenced by crash_screen_thread_entry().
Definition at line 431 of file crash_screen.c.
Referenced by crash_screen_init().
Definition at line 455 of file crash_screen.c.
Referenced by boot_main().
Definition at line 483 of file crash_screen.c.
BSS CrashScreen gCrashScreen |
Definition at line 19 of file crash_screen.c.
Referenced by crash_screen_draw(), crash_screen_draw_glyph(), crash_screen_draw_rect(), crash_screen_init(), crash_screen_set_draw_info(), and crash_screen_thread_entry().
u8 gCrashScreencharToGlyph[128] |
Definition at line 21 of file crash_screen.c.
Referenced by crash_screen_init(), crash_screen_printf(), crash_screen_printf_proportional(), and crash_screen_printf_with_bg().
Definition at line 35 of file crash_screen.c.
Referenced by crash_screen_draw().
Definition at line 56 of file crash_screen.c.
Referenced by crash_screen_print_fpcsr().
char crashScreenAssertMessage[0x100] = {0} |
Definition at line 65 of file crash_screen.c.
Referenced by crash_screen_draw(), and crash_screen_set_assert_info().