Changed GUI CPU fix a bit to make sure we are really in the GUI just in case we use this function for something else later on

This commit is contained in:
pagefault
2005-01-25 23:31:17 +00:00
parent 41bc986124
commit 9c9a755ae9

View File

@@ -756,7 +756,7 @@ void Start36HZ(void)
update_ticks_pc = UPDATE_TICKS_GUI;
//Quick fix for GUI CPU usage
usleep(1000);
if (GUIOn2) usleep(1000);
start = sem_GetTicks();
start2 = sem_GetTicks();