From 252d32aafe879319589b1114cb1b1013748bb2a9 Mon Sep 17 00:00:00 2001 From: TuxSH Date: Sat, 20 May 2017 00:23:43 +0200 Subject: [PATCH] So glad not having to deal with Brahma shit anymore --- source/firm.c | 5 +---- source/types.h | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/source/firm.c b/source/firm.c index d127ce5..3d3f353 100755 --- a/source/firm.c +++ b/source/firm.c @@ -379,10 +379,7 @@ void launchFirm(FirmwareType firmType, bool loadFromStorage) if(!ISFIRMLAUNCH) deinitScreens(); //Set ARM11 kernel entrypoint - if(ISFIRMLAUNCH || ISSIGHAX) - ARM11_CORE0_MAILBOX_ENTRYPOINT = (u32)firm->arm11Entry; - else - BRAHMA_ARM11_ENTRYPOINT = (u32)firm->arm11Entry; + ARM11_CORE0_MAILBOX_ENTRYPOINT = (u32)firm->arm11Entry; //Ensure that all memory transfers have completed and that the caches have been flushed flushEntireDCache(); diff --git a/source/types.h b/source/types.h index c3376ee..d56d0a5 100644 --- a/source/types.h +++ b/source/types.h @@ -47,7 +47,6 @@ typedef volatile s64 vs64; #include "3dsheaders.h" -#define BRAHMA_ARM11_ENTRYPOINT *(vu32 *)0x1FFFFFF8 #define ARM11_CORE0_MAILBOX_ENTRYPOINT *(vu32 *)0x1FFFFFFC #define CFG_SYSPROT9 (*(vu8 *)0x10000000)