equal
deleted
inserted
replaced
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 } |