sept: fix undefined behavior with emummc

This commit is contained in:
Michael Scire
2019-06-14 18:19:10 -07:00
parent a4daa0761a
commit c8f2d17d02
6 changed files with 13 additions and 38 deletions

View File

@@ -93,6 +93,10 @@ ipatch_word:
.global jump_to_main
.type jump_to_main, %function
jump_to_main:
/* Insert 0x40 of NOPs, for version compatibility. */
.rept 16
nop
.endr
/* Just jump to main */
ldr sp, =__stack_top__
b main