From 9d0e04428d56d4917ed5496122627f98fb10eb8d Mon Sep 17 00:00:00 2001 From: Steven Smith Date: Mon, 18 May 2015 19:12:26 -0700 Subject: [PATCH] Update for ctrcommon changes. --- source/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/main.cpp b/source/main.cpp index 4ad725f..5645f20 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -91,8 +91,8 @@ int main(int argc, char **argv) { std::string str = stream.str(); const std::string title = "FBI v1.3.8"; - gputDrawString(title, (gpuGetViewportWidth() - gputGetStringWidth(title, 2)) / 2, (gpuGetViewportHeight() - gputGetStringHeight(title, 2) + gputGetStringHeight(str)) / 2, 2); - gputDrawString(str, (gpuGetViewportWidth() - gputGetStringWidth(str)) / 2, 4); + gputDrawString(title, (gpuGetViewportWidth() - gputGetStringWidth(title, 16)) / 2, (gpuGetViewportHeight() - gputGetStringHeight(title, 16) + gputGetStringHeight(str, 8)) / 2, 16, 16); + gputDrawString(str, (gpuGetViewportWidth() - gputGetStringWidth(str, 8)) / 2, 4, 8, 8); return breakLoop; };