mirror of
https://github.com/joel16/uofw.git
synced 2024-11-23 03:29:43 +00:00
Add loader for other preipl versions
This commit is contained in:
parent
20b4eb8293
commit
4bb638e268
@ -112,9 +112,25 @@ preipl_payload:
|
||||
preipl_payload_end:
|
||||
# end of stage2
|
||||
|
||||
# TODO nop's until 0xBFC00FB0
|
||||
.string "Copyright (C) 2004 Sony Computer Entertainment Inc. All rights reserved."
|
||||
# TODO nop's until this string
|
||||
#ifdef PREIPL_VER_1
|
||||
.string "Copyright (C) 2004 Sony Computer Entertainment Inc. All rights reserved." # at 0xBFC00FB0
|
||||
#else
|
||||
#ifdef PREIPL_VER_2
|
||||
.string "Copyright (C) 2004,2005 Sony Computer Entertainment Inc. All rights reserved." # at 0xBFC00F80
|
||||
#else
|
||||
.string "Copyright (C) 2004,2005,2007 Sony Computer Entertainment Inc. All rights reserved." # at 0xBFC00F80
|
||||
#endif
|
||||
#endif
|
||||
|
||||
# TODO 0xBFC0FFC
|
||||
#ifdef PREIPL_VER_1
|
||||
.word 0x20040420
|
||||
#else
|
||||
#ifdef PREIPL_VER_2
|
||||
.word 0x20050104
|
||||
#else
|
||||
.word 0x20070910
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -90,7 +90,7 @@ decrypt_loop:
|
||||
beqz $a0, after_copy
|
||||
lw $a2, 4($s0)
|
||||
# copy the block from 0xBFD00010 to the specified address
|
||||
jal memcpy
|
||||
jal _memcpy
|
||||
addiu $a1, $s0, 16
|
||||
move $s7, $v0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user