mirror of
https://github.com/fail0verflow/mini.git
synced 2024-11-28 06:04:19 +01:00
flush loaded ppc binary
This commit is contained in:
parent
a6afa5e49d
commit
e89d05a109
@ -7,6 +7,7 @@
|
||||
#include "ff.h"
|
||||
#include "powerpc_elf.h"
|
||||
#include "elf.h"
|
||||
#include "memory.h"
|
||||
#include "string.h"
|
||||
|
||||
#define PHDR_MAX 10
|
||||
@ -80,6 +81,9 @@ int powerpc_load_file(const char *path)
|
||||
}
|
||||
phdr++;
|
||||
}
|
||||
|
||||
dc_flushall();
|
||||
|
||||
gecko_puts("ELF load done, booting PPC...\n");
|
||||
powerpc_upload_stub(NULL,0);
|
||||
powerpc_reset();
|
||||
|
Loading…
Reference in New Issue
Block a user