Skip to content

Commit

Permalink
maybe fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bates64 committed Jan 7, 2024
1 parent 582ef0f commit 9063317
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions src/crash_screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,20 @@ u8 gCrashScreencharToGlyph[128] = {
23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, -1, -1, -1, -1, -1,
};

#if VERSION_US
#include "crash_screen/font.png.inc.c"
#else
u32 gCrashScreenFont[] = {
0x70871C30, 0x8988A250, 0x88808290, 0x88831C90, 0x888402F8, 0x88882210, 0x71CF9C10, 0xF9CF9C70, 0x8228A288,
0xF200A288, 0x0BC11C78, 0x0A222208, 0x8A222288, 0x71C21C70, 0x23C738F8, 0x5228A480, 0x8A282280, 0x8BC822F0,
0xFA282280, 0x8A28A480, 0x8BC738F8, 0xF9C89C08, 0x82288808, 0x82088808, 0xF2EF8808, 0x82288888, 0x82288888,
0x81C89C70, 0x8A08A270, 0x920DA288, 0xA20AB288, 0xC20AAA88, 0xA208A688, 0x9208A288, 0x8BE8A270, 0xF1CF1CF8,
0x8A28A220, 0x8A28A020, 0xF22F1C20, 0x82AA0220, 0x82492220, 0x81A89C20, 0x8A28A288, 0x8A28A288, 0x8A289488,
0x8A2A8850, 0x894A9420, 0x894AA220, 0x70852220, 0xF8011000, 0x08020800, 0x10840400, 0x20040470, 0x40840400,
0x80020800, 0xF8011000, 0x70800000, 0x88822200, 0x08820400, 0x108F8800, 0x20821000, 0x00022200, 0x20800020,
0x00000000,
};
#endif

const char* gFaultCauses[18] = {
"Interrupt",
Expand Down
4 changes: 2 additions & 2 deletions ver/us/splat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,8 @@ segments:
type: .data
name: crash_screen
subsegments:
- [0x52690, i1, crash_screen/font, 32, 63]
- [0x5278C]
- [0x52690, i1, crash_screen/font, 32, 64]
- [0x52790]
- [auto, .data, os/nusys/nugfxtaskmgr]
- [auto, .data, os/nusys/nusimgr]
- [auto, .data, cam_math]
Expand Down

0 comments on commit 9063317

Please sign in to comment.