(GX) fix loading huge cores

This commit is contained in:
Toad King 2012-08-22 06:40:16 -04:00
parent 203c3ed82e
commit 2e1ad73a25

View File

@ -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;
}