Small optimization (8 cycles)

This commit is contained in:
jeffman 2017-03-10 18:43:59 -05:00
parent c67addbe08
commit 53f4805ebb
1 changed files with 5 additions and 1 deletions

View File

@ -624,7 +624,11 @@ mov r0,#6
lsl r0,r0,#24 lsl r0,r0,#24
add r1,r0,r1 // VRAM dest address add r1,r0,r1 // VRAM dest address
add r0,r3,#4 // source address add r0,r3,#4 // source address
ldr r2,=#0x1000008 // set the fixed source address flag + copy 8 words mov r2,#1
lsl r2,r2,#21
add r2,r2,#1
lsl r2,r2,#3 // r2 = 0x1000008
// set the fixed source address flag + copy 8 words
swi #0xC // CpuFastSet swi #0xC // CpuFastSet
pop {r0-r3,pc} pop {r0-r3,pc}