0xBEEF -> 0x1BEEF
This commit is contained in:
parent
ba3740a77a
commit
118f81d347
@ -53,5 +53,5 @@ disableMpuAndJumpToEntrypoints:
|
|||||||
@ Jump to the ARM9 entrypoint
|
@ Jump to the ARM9 entrypoint
|
||||||
mov r0, r4
|
mov r0, r4
|
||||||
mov r1, r5
|
mov r1, r5
|
||||||
ldr r2, =0xBEEF
|
ldr r2, =0x1BEEF
|
||||||
bx r6
|
bx r6
|
||||||
|
@ -49,7 +49,7 @@ void main(int argc, char **argv, u32 magicWord)
|
|||||||
FirmwareType firmType;
|
FirmwareType firmType;
|
||||||
FirmwareSource nandType;
|
FirmwareSource nandType;
|
||||||
|
|
||||||
if(magicWord == 0xBEEF && argc >= 1) //Normal boot
|
if((magicWord & 0xFFFF) == 0xBEEF && argc >= 1) //Normal boot
|
||||||
{
|
{
|
||||||
u32 i;
|
u32 i;
|
||||||
for(i = 0; i < 40 && argv[0][i] != 0; i++) //Copy and convert the path to UTF-16
|
for(i = 0; i < 40 && argv[0][i] != 0; i++) //Copy and convert the path to UTF-16
|
||||||
|
Reference in New Issue
Block a user