| 230 | } |
| 231 | |
| 232 | static void GSDumpReplayerUpdateFrameLimit() |
| 233 | { |
| 234 | constexpr u32 default_frame_limit = 60; |
| 235 | const u32 frame_limit = static_cast<u32>(default_frame_limit * VMManager::GetTargetSpeed()); |
| 236 | |
| 237 | if (frame_limit > 0) |
| 238 | s_frame_ticks = (GetTickFrequency() + (frame_limit / 2)) / frame_limit; |
| 239 | else |
| 240 | s_frame_ticks = 0; |
| 241 | } |
| 242 | |
| 243 | static void GSDumpReplayerFrameLimit() |
| 244 | { |
no test coverage detected