Whitespace cleanup in Emuloop.

This commit is contained in:
riccardom 2009-04-24 17:09:00 +00:00
parent e678242556
commit 3b7a0e79b5
1 changed files with 7 additions and 9 deletions

View File

@ -1311,17 +1311,15 @@ gboolean EmuLoop(gpointer data)
_updateDTools();
gtk_widget_queue_draw( nds_screen_widget);
if ( !gtk_fps_limiter_disabled) {
limiter_frame_counter += 1;
if ( limiter_frame_counter >= FPS_LIMITER_FRAME_PERIOD) {
limiter_frame_counter = 0;
/* wait for the timer to expire */
SDL_SemWait( fps_limiter_semaphore);
}
if ( !gtk_fps_limiter_disabled) {
limiter_frame_counter += 1;
if ( limiter_frame_counter >= FPS_LIMITER_FRAME_PERIOD) {
limiter_frame_counter = 0;
/* wait for the timer to expire */
SDL_SemWait( fps_limiter_semaphore);
}
}
return TRUE;
}