Skip to content

Commit

Permalink
wutcrt: Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Maschell committed Feb 15, 2023
1 parent 81af5b5 commit fe38d84
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libraries/wutcrt/crt0_rpx.s
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ __rpx_start:
bl OSIsDebuggerInitialized
cmpwi 3,0x0
beq init_wut
li 3, 2
lis 4, main@h
li 3, 2 # DBGCTL_INIT_BREAKPOINT
lis 4, main@h # Used for the initial bp if (((appFlags & 0x40) != 0) || ((appFlags & 0x10) != 0))
ori 4,4, main@l
lis 5, main@h
lis 5, main@h # Used for the initial bp if ((appFlags & 0x20) == 0)
ori 5,5, main@l
tw 0x1f, 30, 0
tw 0x1f, 30, 0 # DBGCTL_INSTRUCTION
init_wut:
bl __init_wut
lwz 3, 0x8(1)
Expand Down

0 comments on commit fe38d84

Please sign in to comment.