From df62e1901ef75fb4fbebcb9833e1fe129b640f60 Mon Sep 17 00:00:00 2001 From: TuxSH <1922548+TuxSH@users.noreply.github.com> Date: Sat, 21 Nov 2020 21:45:36 +0000 Subject: [PATCH] arm9: mark drawFormattedString as printf-like function --- arm9/source/draw.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arm9/source/draw.h b/arm9/source/draw.h index f1f966dd..16d734d6 100644 --- a/arm9/source/draw.h +++ b/arm9/source/draw.h @@ -47,4 +47,6 @@ bool loadSplash(void); void drawCharacter(bool isTopScreen, u32 posX, u32 posY, u32 color, char character); u32 drawString(bool isTopScreen, u32 posX, u32 posY, u32 color, const char *string); + +__attribute__((format(printf,5,6))) u32 drawFormattedString(bool isTopScreen, u32 posX, u32 posY, u32 color, const char *fmt, ...);