diff options
author | Revo <projectrevotpp@hotmail.com> | 2021-05-22 19:33:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-22 19:33:17 -0400 |
commit | 121208bd6db271ae766a614da82fa00498bb7856 (patch) | |
tree | 7ab7010abde683379b2cb6e63ded0dbbf4ab4388 /arm9/src/scrcmd.c | |
parent | 1e7dcfbf615f387c3b4a8a7577ff36dd57922f60 (diff) | |
parent | 0d0f5b70b03e271d05cd30ccacddd55d75c4e530 (diff) |
Merge pull request #382 from PikalaxALT/pikalax_work
list_menu_items
Diffstat (limited to 'arm9/src/scrcmd.c')
-rw-r--r-- | arm9/src/scrcmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arm9/src/scrcmd.c b/arm9/src/scrcmd.c index 00ccd34d..5503f5f3 100644 --- a/arm9/src/scrcmd.c +++ b/arm9/src/scrcmd.c @@ -34,9 +34,9 @@ extern u32 FUN_02058510(u32 param0, u32 param1); extern void MOD05_021E8128(u32 param0, u8 type, u16 map); extern void MOD05_021E8130(u32 param0, u32 param1); extern void MOD05_021E8158(struct UnkSavStruct80 *unk80); -extern u32 MOD05_021E8140(u32 param0); +extern struct Window * MOD05_021E8140(u32 param0); extern BOOL MOD05_021E8148(u32 param0); -extern u8 FUN_02054658(u32 param0, struct String *str, struct Options *opt, u32 param3); +extern u8 FUN_02054658(struct Window * param0, struct String *str, struct Options *opt, u32 param3); extern void MOD05_021E8144(u32 param0); extern void FUN_0200CB00(u32 param0, u32 param1, u32 param2, u32 param3, u32 param4, u32 param5); extern u32 Std_CreateYesNoMenu(u32 param0, u8 **param1, u32 param2, u32 param3, u32 param4); @@ -893,7 +893,7 @@ THUMB_FUNC BOOL ScrCmd_CreateMessageBox(struct ScriptContext* ctx) MOD05_021E8158(unk80); ReadMsgDataIntoString(ctx->msgData, msg, *unk1); StringExpandPlaceholders(*unk3, *unk2, *unk1); - AddTextPrinterParameterized(MOD05_021E8140(unk80->unk60), 1, (u16 *)*unk2, 0, 0, 0, NULL); + AddTextPrinterParameterized(MOD05_021E8140(unk80->unk60), 1, *unk2, 0, 0, 0, NULL); return TRUE; } |