equal
deleted
inserted
replaced
275 cur_ticks = GetTime(); |
275 cur_ticks = GetTime(); |
276 if (cur_ticks >= next_tick || cur_ticks < prev_cur_ticks) { |
276 if (cur_ticks >= next_tick || cur_ticks < prev_cur_ticks) { |
277 next_tick = cur_ticks + 30; |
277 next_tick = cur_ticks + 30; |
278 |
278 |
279 GameLoop(); |
279 GameLoop(); |
280 _screen.dst_ptr = _dedicated_video_mem; |
280 _screen.dst_ptr = (Pixel*)_dedicated_video_mem; |
281 UpdateWindows(); |
281 UpdateWindows(); |
282 } |
282 } |
283 CSleep(1); |
283 CSleep(1); |
284 } |
284 } |
285 } |
285 } |