flush loaded ppc binary

This commit is contained in:
dhewg 2009-03-31 19:36:07 +02:00 committed by bushing
parent a6afa5e49d
commit e89d05a109

View File

@ -7,6 +7,7 @@
#include "ff.h" #include "ff.h"
#include "powerpc_elf.h" #include "powerpc_elf.h"
#include "elf.h" #include "elf.h"
#include "memory.h"
#include "string.h" #include "string.h"
#define PHDR_MAX 10 #define PHDR_MAX 10
@ -80,6 +81,9 @@ int powerpc_load_file(const char *path)
} }
phdr++; phdr++;
} }
dc_flushall();
gecko_puts("ELF load done, booting PPC...\n"); gecko_puts("ELF load done, booting PPC...\n");
powerpc_upload_stub(NULL,0); powerpc_upload_stub(NULL,0);
powerpc_reset(); powerpc_reset();