ref: 3ba2487fcb31c6a1cbe5387fe9cd63fc9a90973a
parent: 0ebaec5b10dde1aeae494a3afbeb633462f9ded3
author: Iliyas Jorio <[email protected]>
date: Wed Aug 5 16:23:35 EDT 2020
Prevent unnecessary resource load loop in title card
--- a/src/graphics.cpp
+++ b/src/graphics.cpp
@@ -167,9 +167,9 @@
int time = MTickCount() + 120;
+ DrawPICTInSurface( g_frontSurface, picTitle );
while( time > MTickCount() && !SDLU_Button() )
{
- DrawPICTInSurface( g_frontSurface, picTitle );
SDLU_Present();
SDLU_Yield();
}