RetroArch/libretro-common
Bernhard Schelling a3d9201581
Add environment callback to get the rate retro_run is called (#13022)
* Add GET_THROTTLE_STATE environment callback

* Add RETRO_THROTTLE_UNBLOCKED
to report the case where neither vsync nor audio is limiting the call rate.
Also fix reporting of some special cases when the menu is open.

* Change throttle state mode to unsigned
Use #defines Instead of the untyped C enum to allow easier future additions.

* Spelling fixes

* Avoid any divide-by-zero
2021-10-11 18:05:13 +02:00
..
2020-12-24 16:40:15 +01:00
2020-11-18 01:44:32 +01:00
2020-08-29 05:21:48 +02:00
2020-01-31 15:43:42 +01:00
2021-02-07 21:16:24 +01:00
2020-09-19 23:59:06 +02:00
2020-01-31 15:43:42 +01:00
2021-03-26 12:22:10 +00:00
2021-07-13 11:36:48 -05:00
2020-07-07 05:58:07 +02:00
2021-10-01 09:58:17 +01:00
2020-12-13 21:21:21 +01:00