rsx: add boost mode shortcut

This commit is contained in:
Megamouse 2020-05-11 12:27:00 +02:00
parent 7801e8368b
commit 93e7988df7
4 changed files with 13 additions and 1 deletions

View file

@ -32,6 +32,7 @@ class GSRender;
#define CMD_DEBUG 0
atomic_t<bool> g_user_asked_for_frame_capture = false;
atomic_t<bool> g_disable_frame_limit = false;
rsx::frame_trace_data frame_debug;
rsx::frame_capture_data frame_capture;
@ -3071,7 +3072,7 @@ namespace rsx
}
double limit = 0.;
switch (g_cfg.video.frame_limit)
switch (g_disable_frame_limit ? frame_limit_type::none : g_cfg.video.frame_limit)
{
case frame_limit_type::none: limit = 0.; break;
case frame_limit_type::_59_94: limit = 59.94; break;