Maelstrom: Fixed main menu drawing

From 2494d8edb37ea04d603059315a35f375fc70ee2f Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sat, 22 Oct 2011 01:36:59 -0400
Subject: [PATCH] Fixed main menu drawing

---
 main.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/main.cpp b/main.cpp
index 18b144ca..6ac56294 100644
--- a/main.cpp
+++ b/main.cpp
@@ -493,6 +493,7 @@ void DrawMainScreen(void)
 	ltrClr = screen->MapRGB(50000>>8, 50000>>8, 0xFF);
 
 	screen->Clear();
+
 	/* -- Draw the screen frame */
 	screen->DrawRect(xOff-1, yOff-1, width+2, height+2, clr);
 	screen->DrawRect(xOff-2, yOff-2, width+4, height+4, clr);
@@ -509,9 +510,6 @@ void DrawMainScreen(void)
 	screen->DrawLine(rightDiv, 263+yOff, xOff+width, 263+yOff, ltClr);
 	/* -- Draw the title image */
 	screen->QueueBlit(xOff+5, yOff+5, title, NOCLIP);
-	screen->Update();
-	screen->FreeImage(title);
-
 
 	/* -- Draw the high scores */
 
@@ -616,6 +614,8 @@ void DrawMainScreen(void)
 	/* Always drawing while faded out -- fade in */
 	screen->Update();
 	screen->Fade();
+	screen->FreeImage(title);
+
 }	/* -- DrawMainScreen */