From 2e1ad73a25102ffd457fecd37d0237f388659fdc Mon Sep 17 00:00:00 2001 From: Toad King Date: Wed, 22 Aug 2012 06:40:16 -0400 Subject: [PATCH] (GX) fix loading huge cores --- console/exec/dol.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/console/exec/dol.c b/console/exec/dol.c index 343cf218fa..18b7976d43 100644 --- a/console/exec/dol.c +++ b/console/exec/dol.c @@ -62,10 +62,13 @@ uint32_t *load_dol_image (void *dolstart) DCFlushRangeNoSync ((void *) dolfile->data_start[i], dolfile->data_size[i]); } - RARCH_LOG("clearing bss\n"); + // clearing bss will mess up loading the huge fba core, so we let libogc's startup routine do it + // we also cross our fingers and pray to god launching the loader from the fba core doens't overwrite + // anything too important in this section + /* RARCH_LOG("clearing bss\n"); memset ((void *) dolfile->bss_start, 0, dolfile->bss_size); - DCFlushRange((void *) dolfile->bss_start, dolfile->bss_size); + DCFlushRange((void *) dolfile->bss_start, dolfile->bss_size); */ return (uint32_t *) dolfile->entry_point; }