From 42e283650753576fe4d81cad576d77351143b05d Mon Sep 17 00:00:00 2001 From: ShinySaana <30862392+ShinySaana@users.noreply.github.com> Date: Sat, 1 Jan 2022 20:40:21 +0100 Subject: [PATCH] Use half-word write for WAITCNT access (#160) Fixes Stub I/O warning in mGBA. --- src/rsrt0.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rsrt0.S b/src/rsrt0.S index 3f06450..e5eaef3 100644 --- a/src/rsrt0.S +++ b/src/rsrt0.S @@ -28,7 +28,7 @@ __start: @ See https://problemkaputt.de/gbatek.htm#gbasystemcontrol for reference. ldr r0, =0x04000204 ldr r1, =0x4317 - str r1, [r0] + strh r1, [r0] @ copy .data and .text_iwram section to IWRAM ldr r0, =__iwram_lma @ source address