From 7f6ef45f376484c0732a366e3b24644dfd27fd2c Mon Sep 17 00:00:00 2001 From: Aurora Date: Mon, 29 Feb 2016 17:01:16 +0100 Subject: [PATCH] Avoid overflows with menuhax generated splashes --- source/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/draw.c b/source/draw.c index 94fde6f..98c3246 100644 --- a/source/draw.c +++ b/source/draw.c @@ -39,6 +39,6 @@ void loadSplash(void){ //Check if it's a no-screen-init A9LH boot via PDN_GPU_CNT if (*((u8*)0x10141200) == 0x1) return; clearScreen(); - fileRead(fb->top_left, "/rei/splash.bin", 0); + fileRead(fb->top_left, "/rei/splash.bin", 0x46500); u64 i = 0xFFFFFF; while(--i) __asm("mov r0, r0"); //Less Ghetto sleep func } \ No newline at end of file