Skip to content

Commit

Permalink
added a single comment :)
Browse files Browse the repository at this point in the history
  • Loading branch information
misterfonka authored Dec 30, 2023
1 parent 3329f41 commit 5194507
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -234,4 +235,4 @@ int main(int argc, char** argv) {
WHBLogUdpDeinit();

return 1;
}
}

0 comments on commit 5194507

Please sign in to comment.