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:
parent
5211cea5b8
commit
eb0bc23d6e
|
@ -1455,11 +1455,10 @@ gboolean EmuLoop(gpointer data)
|
|||
}
|
||||
|
||||
desmume_cycle(); /* Emule ! */
|
||||
NDS_SkipFrame(true);
|
||||
for (i = 0; i < Frameskip; i++) {
|
||||
NDS_SkipNextFrame();
|
||||
desmume_cycle();
|
||||
}
|
||||
NDS_SkipFrame(false);
|
||||
|
||||
_updateDTools();
|
||||
gtk_widget_queue_draw( pDrawingArea );
|
||||
|
|
Loading…
Reference in New Issue