citra-qt: Add customizable speed limit target (#3353)

citra-qt: Add customizable speed limit target

* Update SDL config for the new frame_limit option
* Made max lag time a function of target speed percent.
* Added a checkbox to enable/disable frame limiter
* UI: Prevent frame_limit from under/overflowing
* UI: Hide target speed percent when frame limiter is off
* Disable frame limit spin box when framelimit isn't enabled
This commit is contained in:
James Rowe 2018-01-25 22:24:40 -07:00 committed by GitHub
parent 33b0b5163f
commit b002511df0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 155 additions and 96 deletions

View file

@ -97,7 +97,8 @@ struct Values {
bool use_shader_jit;
float resolution_factor;
bool use_vsync;
bool toggle_framelimit;
bool use_frame_limit;
u16 frame_limit;
LayoutOption layout_option;
bool swap_screen;