Use half-word write for WAITCNT access (#160)

Fixes Stub I/O warning in mGBA.
This commit is contained in:
ShinySaana 2022-01-01 20:40:21 +01:00 committed by GitHub
parent 7471c0016d
commit 42e2836507
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,7 @@ __start:
@ See https://problemkaputt.de/gbatek.htm#gbasystemcontrol for reference. @ See https://problemkaputt.de/gbatek.htm#gbasystemcontrol for reference.
ldr r0, =0x04000204 ldr r0, =0x04000204
ldr r1, =0x4317 ldr r1, =0x4317
str r1, [r0] strh r1, [r0]
@ copy .data and .text_iwram section to IWRAM @ copy .data and .text_iwram section to IWRAM
ldr r0, =__iwram_lma @ source address ldr r0, =__iwram_lma @ source address