Commit 505a90c5 authored by Tatsuya79's avatar Tatsuya79
Browse files

Allow high framerate.

parent f6271747
...@@ -513,8 +513,10 @@ Host_FilterTime(float time) ...@@ -513,8 +513,10 @@ Host_FilterTime(float time)
{ {
realtime += time; realtime += time;
/* allow high framerate, warn about it in core options
if (!cls.timedemo && realtime - oldrealtime < 1.0 / 72.0) if (!cls.timedemo && realtime - oldrealtime < 1.0 / 72.0)
return false; // framerate is too high return false; // framerate is too high
*/
host_frametime = realtime - oldrealtime; host_frametime = realtime - oldrealtime;
oldrealtime = realtime; oldrealtime = realtime;
......
...@@ -77,7 +77,7 @@ struct retro_core_option_definition option_defs_us[] = { ...@@ -77,7 +77,7 @@ struct retro_core_option_definition option_defs_us[] = {
{ {
"tyrquake_framerate", "tyrquake_framerate",
"Framerate (restart)", "Framerate (restart)",
"Modify framerate. Requires a restart.", "Modify framerate. Requires a restart. Values above 72 may cause various timing bugs.",
{ {
{ "auto", "Auto"}, { "auto", "Auto"},
{ "10", "10fps"}, { "10", "10fps"},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment