From d71cf60c148aab0a9d4e2143664894fae4c48a6b Mon Sep 17 00:00:00 2001 From: Dragorn421 Date: Tue, 21 Sep 2021 09:56:03 +0200 Subject: [PATCH] `0x803DA800` -> `0x80400000 - frame buffer size` --- src/code/fault_drawer.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/code/fault_drawer.c b/src/code/fault_drawer.c index d20ada8727..fd0bf02d3d 100644 --- a/src/code/fault_drawer.c +++ b/src/code/fault_drawer.c @@ -35,18 +35,18 @@ const u32 sFaultDrawerFont[] = { }; FaultDrawer sFaultDrawerDefault = { - (u16*)0x803DA800, // fb - SCREEN_WIDTH, // w - SCREEN_HEIGHT, // h - 16, // yStart - 223, // yEnd - 22, // xStart - 297, // xEnd - GPACK_RGBA5551(255, 255, 255, 255), // foreColor - GPACK_RGBA5551(0, 0, 0, 0), // backColor - 22, // cursorX - 16, // cursorY - sFaultDrawerFont, // font + (u16*)(0x80400000 - sizeof(u16[SCREEN_HEIGHT][SCREEN_WIDTH])), // fb + SCREEN_WIDTH, // w + SCREEN_HEIGHT, // h + 16, // yStart + 223, // yEnd + 22, // xStart + 297, // xEnd + GPACK_RGBA5551(255, 255, 255, 255), // foreColor + GPACK_RGBA5551(0, 0, 0, 0), // backColor + 22, // cursorX + 16, // cursorY + sFaultDrawerFont, // font 8, 8, 0,