Fix derp
This commit is contained in:
parent
3ac134bc16
commit
73e363d159
@ -29,7 +29,7 @@ void main(void)
|
|||||||
{
|
{
|
||||||
void *payloadAddress = (void *)0x23F00000;
|
void *payloadAddress = (void *)0x23F00000;
|
||||||
|
|
||||||
memcpy(payloadAddress, (void *)0x24F00000, payloadSize);
|
memcpy(payloadAddress, (void *)0x24000000, payloadSize);
|
||||||
|
|
||||||
//Ensure that all memory transfers have completed and that the caches have been flushed
|
//Ensure that all memory transfers have completed and that the caches have been flushed
|
||||||
flushCaches();
|
flushCaches();
|
||||||
|
@ -121,7 +121,7 @@ void loadPayload(u32 pressed, const char *payloadPath)
|
|||||||
u32 *loaderAddress = (u32 *)0x27FFE000;
|
u32 *loaderAddress = (u32 *)0x27FFE000;
|
||||||
u8 *payloadAddress = (u8 *)0x24000000;
|
u8 *payloadAddress = (u8 *)0x24000000;
|
||||||
u32 payloadSize = 0,
|
u32 payloadSize = 0,
|
||||||
maxPayloadSize = (u32)((u8 *)loaderAddress - payloadAddress - 0x1000);
|
maxPayloadSize = 0xFFE00;
|
||||||
|
|
||||||
if(payloadPath == NULL)
|
if(payloadPath == NULL)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user