From 51945071e42495178d035a5cc0f978a35fccbb1b Mon Sep 17 00:00:00 2001 From: misterfonka <127918822+misterfonka@users.noreply.github.com> Date: Fri, 29 Dec 2023 18:13:41 -0600 Subject: [PATCH] added a single comment :) --- source/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/main.c b/source/main.c index a8891c8..48d5210 100644 --- a/source/main.c +++ b/source/main.c @@ -167,6 +167,7 @@ int main(int argc, char** argv) { /* Print text */ OSScreenPutFontEx(SCREEN_TV, 0, 0, "DrawU"); OSScreenPutFontEx(SCREEN_TV, 0, 2, "Use the d-pad to draw pixels to the screen."); + /* "printf" doesn't print text to the screen so I have to do this :facepalm: */ char displayText[128]; snprintf(displayText, sizeof(displayText), "Press A to cycle through different colors. Current color: %s", colorNames[currentColorIndex]); OSScreenPutFontEx(SCREEN_TV, 0, 3, displayText); @@ -234,4 +235,4 @@ int main(int argc, char** argv) { WHBLogUdpDeinit(); return 1; -} \ No newline at end of file +}