dosbox-pure icon indicating copy to clipboard operation
dosbox-pure copied to clipboard

Expose Frame-Skipping to RetroArch menu

Open Ultrahead opened this issue 6 months ago • 3 comments

Is it possible for next versions to expose the frame-skipping parameter to Libreto so as to be able to modify it on-the-fly using the RetroArch menu?

So far that can be achieve using a custom .conf file, but it would be handy to be able to do it from the RA menu it-self for fast testing.

Thanks

Ultrahead avatar Jun 10 '25 16:06 Ultrahead

There isn't much of a benefit to frame-skipping in DOSBox because there isn't really anything that can be skipped as far as the emulation goes. So a DOS game will still run the exact same way and process the video output the only way it can do. So even if the emulator only shows every Nth frame, under the hood exactly the same happens and use the same amount of effort and have the exact same performance. Maybe on some very low-powered device there is some miniscule benefit to push less images to the display but it will never be like other emulators that can skip a ton of processing with frame skipping.

All that being said, in the current development build we have a core option called "Force Output FPS". Before this just was the "Force 60 FPS" core option but now there are various options. Though as of now the lowest setting is 50 FPS. But I'm thinking we can add a few more options to go much lower, like 35 FPS, 30 FPS, 20 FPS, 15 FPS which would get you something very similar to frame skipping. Would that be useful to you?

schellingb avatar Jun 10 '25 17:06 schellingb

Thanks for the explanation. Yes, that would come really handy. Some games have those options in their settings even down to 10 fps, so yes, that will do the trick. Thanks!

Ultrahead avatar Jun 11 '25 09:06 Ultrahead

Thanks for implementing it. Compiling ...

Ultrahead avatar Jun 17 '25 23:06 Ultrahead