Use cached address when running from ROM

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-03-11 20:47:22 +01:00
parent 144d0913f3
commit 8d15b3f817

View file

@ -618,4 +618,11 @@ continue:
addiu $a0, $zero, -1
addiu $a1, $zero, -1
addiu $a2, $zero, -1
/* Take advantage of cache. */
lui $t0, %hi(cached_continue - 0x20000000)
addiu $t0, $t0, %lo(cached_continue - 0x20000000)
jr $t0
addiu $a2, $zero, -1
cached_continue: