mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 10:10:57 +00:00
Try lroundf instead
This commit is contained in:
parent
5a65773b81
commit
0f3ae9b03d
@ -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…
Reference in New Issue
Block a user