mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 01:38:37 +12:00
rsx: Implement custom fractional frame limit
This commit is contained in:
parent
0113224cb6
commit
18e30c7e44
2 changed files with 7 additions and 0 deletions
|
@ -3399,6 +3399,12 @@ namespace rsx
|
|||
break;
|
||||
}
|
||||
|
||||
if (double limit2 = g_cfg.video.second_frame_limit; limit2 >= 0.1 && (limit2 < limit || !limit))
|
||||
{
|
||||
// Apply a second limit
|
||||
limit = limit2;
|
||||
}
|
||||
|
||||
if (limit)
|
||||
{
|
||||
const u64 needed_us = static_cast<u64>(1000000 / limit);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue