mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Try lroundf instead
This commit is contained in:
parent
5a65773b81
commit
0f3ae9b03d
1 changed files with 1 additions and 1 deletions
|
@ -6207,7 +6207,7 @@ int action_cb_push_dropdown_item_resolution(const char *path,
|
|||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
unsigned refresh_mod = round(refreshrate / 60.0f);
|
||||
unsigned refresh_mod = lroundf(refreshrate / 60.0f);
|
||||
float refresh_exact = refreshrate;
|
||||
|
||||
/* 59 Hz is an inaccurate representation of the real value (59.94).
|
||||
|
|
Loading…
Add table
Reference in a new issue