Skip to content

Commit 42e2836

Browse files
authored
Use half-word write for WAITCNT access (#160)
Fixes Stub I/O warning in mGBA.
1 parent 7471c00 commit 42e2836

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rsrt0.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ __start:
2828
@ See https://problemkaputt.de/gbatek.htm#gbasystemcontrol for reference.
2929
ldr r0, =0x04000204
3030
ldr r1, =0x4317
31-
str r1, [r0]
31+
strh r1, [r0]
3232

3333
@ copy .data and .text_iwram section to IWRAM
3434
ldr r0, =__iwram_lma @ source address

0 commit comments

Comments
 (0)