| 284 | } |
| 285 | |
| 286 | static float get_desired_timeskip(int32_t real_fps, int32_t target_fps) { |
| 287 | // minus 1 to account for the current frame |
| 288 | return (float(target_fps) / float(real_fps)) - 1; |
| 289 | } |
| 290 | |
| 291 | static int32_t get_next_trigger_year_tick(int32_t next_tick) { |
| 292 | int32_t next_trigger_tick = INT32_MAX; |