Adapt to new frameskip api, there's something strange here, at frameskip 1 i have 30 more fps and the poor frameskip limiter does not kick in.

This commit is contained in:
riccardom 2009-05-24 08:46:12 +00:00
parent 5211cea5b8
commit eb0bc23d6e
1 changed files with 1 additions and 2 deletions

View File

@ -1455,11 +1455,10 @@ gboolean EmuLoop(gpointer data)
} }
desmume_cycle(); /* Emule ! */ desmume_cycle(); /* Emule ! */
NDS_SkipFrame(true);
for (i = 0; i < Frameskip; i++) { for (i = 0; i < Frameskip; i++) {
NDS_SkipNextFrame();
desmume_cycle(); desmume_cycle();
} }
NDS_SkipFrame(false);
_updateDTools(); _updateDTools();
gtk_widget_queue_draw( pDrawingArea ); gtk_widget_queue_draw( pDrawingArea );