dedicated.c
changeset 1543 713bc7d94d4b
parent 1542 62a03537ad0b
child 1614 f6f2c918356d
equal deleted inserted replaced
1542:62a03537ad0b 1543:713bc7d94d4b
   300 		gettimeofday(&tim, NULL);
   300 		gettimeofday(&tim, NULL);
   301 		cur_ticks = (tim.tv_usec / 1000) + (tim.tv_sec * 1000);
   301 		cur_ticks = (tim.tv_usec / 1000) + (tim.tv_sec * 1000);
   302 #endif
   302 #endif
   303 
   303 
   304 		if (cur_ticks >= next_tick) {
   304 		if (cur_ticks >= next_tick) {
   305 //			next_tick += 30;
   305 			next_tick += 30;
   306 
   306 
   307 			GameLoop();
   307 			GameLoop();
   308 			_screen.dst_ptr = _dedicated_video_mem;
   308 			_screen.dst_ptr = _dedicated_video_mem;
   309 			UpdateWindows();
   309 			UpdateWindows();
   310 		}
   310 		}