From ed4804ce850bb208c7b4b602ecc55812449e7738 Mon Sep 17 00:00:00 2001 From: Taimoor Ahmad Date: Sat, 11 May 2019 23:04:57 -0400 Subject: [PATCH] Move to bottom left corner. Fix formatting for time. --- gfx.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gfx.cpp b/gfx.cpp index b99e387a..0d59930a 100644 --- a/gfx.cpp +++ b/gfx.cpp @@ -1849,8 +1849,8 @@ static void DisplayTime (void) time (&rawtime); timeinfo = localtime(&rawtime); - sprintf(string, "%u:%u", timeinfo->tm_hour, timeinfo->tm_min); - S9xDisplayString(string, 3, IPPU.RenderedScreenWidth - (font_width - 1) * strlen(string) - 1, false); + sprintf(string, "%02u:%02u", timeinfo->tm_hour, timeinfo->tm_min); + S9xDisplayString(string, 0, 0, false); } static void DisplayFrameRate (void) @@ -2046,7 +2046,7 @@ static void DisplayWatchedAddresses (void) void S9xDisplayMessages (uint16 *screen, int ppl, int width, int height, int scale) { - DisplayTime(); // Todo: make a setting. + DisplayTime(); if (Settings.DisplayFrameRate) DisplayFrameRate();