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-08-15 20:38:31 +02:00
2020-08-14 22:54:46 +02:00
2021-01-19 04:38:07 +01:00
2020-01-31 15:43:42 +01:00
2020-11-01 17:22:32 +01:00
2021-08-06 15:33:47 +01:00
2020-01-31 15:43:42 +01:00
2020-01-31 15:43:42 +01:00
2020-09-01 17:43:22 +02:00
2020-08-14 18:03:09 +02:00
2019-01-17 19:39:38 -08:00
2020-01-31 15:43:42 +01:00
2020-01-31 15:43:42 +01:00
2020-01-31 15:43:42 +01:00
2020-01-31 15:43:42 +01:00
2020-01-31 15:43:42 +01:00
2020-12-27 18:56:00 +01:00
2021-02-03 09:58:50 +01:00
2020-10-31 06:22:10 +01:00
2021-09-13 18:09:44 +02:00
2021-03-09 08:27:46 +01:00