summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorhuderlem <huderlem@gmail.com>2019-08-05 17:02:39 -0500
committerGitHub <noreply@github.com>2019-08-05 17:02:39 -0500
commit08bd3049160f9a6d05aa680a3106854015798f58 (patch)
treeea3e8d61c7276c9a23697a3c8c1d883575316aa4 /src/util.c
parentd824a2b4266e6cfa885ef08b23c43e38dbbafcd7 (diff)
parentbcd0c961fa3643240d9f9785e5bf5b037158aa98 (diff)
Merge pull request #6 from camthesaxman/titlescreen
decompile the rest of titlescreen.s and import agb_sram library and strlen function
Diffstat (limited to 'src/util.c')
-rwxr-xr-xsrc/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index f0d0b05..d0f3f42 100755
--- a/src/util.c
+++ b/src/util.c
@@ -186,7 +186,7 @@ void sub_578(void)
void sub_678(u8 *arg0, s16 arg1, s16 arg2)
{
// Rumble Pak related?
- s16 var0 = sub_55A24(arg0) - 1;
+ s16 var0 = strlen(arg0) - 1;
u16 *dest = &gUnknown_03005C00[arg1 * 32 + arg2];
do
{