mirror of
https://github.com/fail0verflow/mini.git
synced 2024-11-28 06:04:19 +01:00
just protect memory instead of hanging the powerpc
This commit is contained in:
parent
f3f78fab9f
commit
8335cc690e
2
boot2.c
2
boot2.c
@ -104,7 +104,7 @@ int boot2_run(u32 tid_hi, u32 tid_lo) {
|
||||
patch[3] = tid_lo;
|
||||
|
||||
gecko_printf("booting boot2 with title 0x%08x, 0x%08x\n", tid_hi, tid_lo);
|
||||
powerpc_hang();
|
||||
mem_protect(1, (void *)0x11000000, (void *)0x13FFFFFF);
|
||||
memcpy((void *)0x11000000, boot2, sizeof boot2);
|
||||
ptr = (void *)0x11000000 + hdr->hdrsize + hdr->loadersize;
|
||||
for (i = 0; i < sizeof(boot2); i += 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user